home *** CD-ROM | disk | FTP | other *** search
MetaCard/Revolution Stack | 2002-04-05 | 357.6 KB | [RSTK/Revo] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MetaCard/Revolution Stack
(archive/metaCardStack).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| MetaCard/Revolution Stack (archive/metaCardStack)
| magic
| Unsupported |
100%
| file
| POSIX shell script executable (binary data)
| default
| |
99%
| file
| a /bin/sh script executable (binary data)
| default (weak)
| |
98%
| file
| data
| default
| |
60%
| TrID
| MetaCard/Revolution stack (old)
| default
| |
20%
| TrID
| Linux/UNIX shell script
| default
| |
20%
| TrID
| Xilinx User Constraints File
| default (weak)
| |
100%
| siegfried
| fmt/1918 MetaCard Stack (2.x)
| default
| |
100%
| binwalkID
| Executable script, shebang: "/bin/sh"
| default (weak)
| |
100%
| xdgMime
| application/x-shellscript
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [RSTK] |
macFileCreator | [Revo] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 23 21 2f 62 69 6e 2f 73 | 68 0a 23 20 4d 65 74 61 |#!/bin/s|h.# Meta|
|00000010| 43 61 72 64 20 32 2e 34 | 20 73 74 61 63 6b 0a 23 |Card 2.4| stack.#|
|00000020| 20 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 69 | The fol|lowing i|
|00000030| 73 20 6e 6f 74 20 41 53 | 43 49 49 20 74 65 78 74 |s not AS|CII text|
|00000040| 2c 0a 23 20 73 6f 20 6e | 6f 77 20 77 6f 75 6c 64 |,.# so n|ow would|
|00000050| 20 62 65 20 61 20 67 6f | 6f 64 20 74 69 6d 65 20 | be a go|od time |
|00000060| 74 6f 20 71 20 6f 75 74 | 20 6f 66 20 6d 6f 72 65 |to q out| of more|
|00000070| 0c 0a 65 78 65 63 20 6d | 63 20 24 30 20 22 24 40 |..exec m|c $0 "$@|
|00000080| 22 0a 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |".......|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 01 |........|........|
|00000100| 02 00 00 03 00 00 04 bb | 00 0b 72 65 76 4d 65 6e |........|..revMen|
|00000110| 75 62 61 72 00 02 26 88 | 10 06 39 6f 6e 20 75 6e |ubar..&.|..9on un|
|00000120| 49 63 6f 6e 69 66 79 53 | 74 61 63 6b 0a 20 20 67 |IconifyS|tack. g|
|00000130| 6c 6f 62 61 6c 20 67 52 | 45 56 42 61 63 6b 44 72 |lobal gR|EVBackDr|
|00000140| 6f 70 52 65 73 74 6f 72 | 65 2c 20 67 52 45 56 52 |opRestor|e, gREVR|
|00000150| 65 73 74 6f 72 65 0a 20 | 20 69 66 20 67 52 45 56 |estore. | if gREV|
|00000160| 52 65 73 74 6f 72 65 5b | 22 77 69 6e 64 6f 77 42 |Restore[|"windowB|
|00000170| 6f 75 6e 64 69 6e 67 52 | 65 63 74 22 5d 20 69 73 |oundingR|ect"] is|
|00000180| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 70 61 73 73 | empty t|hen pass|
|00000190| 20 75 6e 49 63 6f 6e 69 | 66 79 53 74 61 63 6b 0a | unIconi|fyStack.|
|000001a0| 20 20 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 | set cu|rsor to |
|000001b0| 77 61 74 63 68 0a 20 20 | 6c 6f 63 6b 20 6d 65 73 |watch. |lock mes|
|000001c0| 73 61 67 65 73 0a 20 20 | 73 65 74 20 74 68 65 20 |sages. |set the |
|000001d0| 69 63 6f 6e 69 63 20 6f | 66 20 73 74 61 63 6b 20 |iconic o|f stack |
|000001e0| 22 72 65 76 4d 65 6e 75 | 62 61 72 22 20 74 6f 20 |"revMenu|bar" to |
|000001f0| 66 61 6c 73 65 0a 20 20 | 70 75 74 20 74 68 65 20 |false. |put the |
|00000200| 63 52 45 56 4d 61 78 4c | 69 73 74 20 6f 66 20 73 |cREVMaxL|ist of s|
|00000210| 74 61 63 6b 20 22 72 65 | 76 6d 65 6e 75 42 61 72 |tack "re|vmenuBar|
|00000220| 22 20 69 6e 74 6f 20 74 | 4f 70 65 6e 53 74 61 63 |" into t|OpenStac|
|00000230| 6b 73 6c 69 73 74 0a 20 | 20 70 75 74 20 74 68 65 |kslist. | put the|
|00000240| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00000250| 20 69 6e 20 74 4f 70 65 | 6e 53 74 61 63 6b 73 4c | in tOpe|nStacksL|
|00000260| 69 73 74 20 69 6e 74 6f | 20 74 4e 6f 4c 69 6e 65 |ist into| tNoLine|
|00000270| 73 0a 20 20 72 65 70 65 | 61 74 20 77 69 74 68 20 |s. repe|at with |
|00000280| 69 20 3d 20 74 4e 6f 4c | 69 6e 65 73 20 64 6f 77 |i = tNoL|ines dow|
|00000290| 6e 20 74 6f 20 31 0a 20 | 20 20 20 70 75 74 20 6c |n to 1. | put l|
|000002a0| 69 6e 65 20 69 20 6f 66 | 20 74 4f 70 65 6e 53 74 |ine i of| tOpenSt|
|000002b0| 61 63 6b 73 4c 69 73 74 | 20 69 6e 74 6f 20 6c 0a |acksList| into l.|
|000002c0| 20 20 20 20 69 66 20 6c | 20 69 73 20 22 72 65 76 | if l| is "rev|
|000002d0| 4d 65 6e 75 42 61 72 22 | 20 74 68 65 6e 20 6e 65 |MenuBar"| then ne|
|000002e0| 78 74 20 72 65 70 65 61 | 74 0a 20 20 20 20 69 66 |xt repea|t. if|
|000002f0| 20 74 68 65 72 65 20 69 | 73 20 61 20 73 74 61 63 | there i|s a stac|
|00000300| 6b 20 6c 20 61 6e 64 20 | 6e 6f 74 20 74 68 65 20 |k l and |not the |
|00000310| 76 69 73 69 62 6c 65 20 | 6f 66 20 73 74 61 63 6b |visible |of stack|
|00000320| 20 6c 20 74 68 65 6e 0a | 20 20 20 20 20 20 73 68 | l then.| sh|
|00000330| 6f 77 20 73 74 61 63 6b | 20 6c 0a 20 20 20 20 65 |ow stack| l. e|
|00000340| 6e 64 20 69 66 0a 20 20 | 65 6e 64 20 72 65 70 65 |nd if. |end repe|
|00000350| 61 74 0a 20 20 69 66 20 | 67 52 45 56 42 61 63 6b |at. if |gREVBack|
|00000360| 44 72 6f 70 52 65 73 74 | 6f 72 65 20 69 73 20 6e |DropRest|ore is n|
|00000370| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 20 73 65 |ot empty| then se|
|00000380| 74 20 74 68 65 20 62 61 | 63 6b 44 72 6f 70 20 74 |t the ba|ckDrop t|
|00000390| 6f 20 67 52 45 56 42 61 | 63 6b 44 72 6f 70 52 65 |o gREVBa|ckDropRe|
|000003a0| 73 74 6f 72 65 0a 20 20 | 75 6e 6c 6f 63 6b 20 6d |store. |unlock m|
|000003b0| 65 73 73 61 67 65 73 0a | 20 20 73 65 74 20 74 68 |essages.| set th|
|000003c0| 65 20 77 69 6e 64 6f 77 | 42 6f 75 6e 64 69 6e 67 |e window|Bounding|
|000003d0| 52 65 63 74 20 74 6f 20 | 67 52 45 56 52 65 73 74 |Rect to |gREVRest|
|000003e0| 6f 72 65 5b 22 77 69 6e | 64 6f 77 42 6f 75 6e 64 |ore["win|dowBound|
|000003f0| 69 6e 67 52 65 63 74 22 | 5d 0a 65 6e 64 20 75 6e |ingRect"|].end un|
|00000400| 49 63 6f 6e 69 66 79 53 | 74 61 63 6b 0a 0a 6f 6e |IconifyS|tack..on|
|00000410| 20 63 6f 6d 6d 61 6e 64 | 4b 65 79 44 6f 77 6e 0a | command|KeyDown.|
|00000420| 20 20 70 61 73 73 20 63 | 6f 6d 6d 61 6e 64 4b 65 | pass c|ommandKe|
|00000430| 79 44 6f 77 6e 20 74 6f | 20 74 6f 70 0a 65 6e 64 |yDown to| top.end|
|00000440| 20 63 6f 6d 6d 61 6e 64 | 4b 65 79 44 6f 77 6e 0a | command|KeyDown.|
|00000450| 0a 6f 6e 20 69 63 6f 6e | 69 66 79 53 74 61 63 6b |.on icon|ifyStack|
|00000460| 0a 20 20 67 6c 6f 62 61 | 6c 20 67 52 45 56 42 61 |. globa|l gREVBa|
|00000470| 63 6b 44 72 6f 70 52 65 | 73 74 6f 72 65 2c 20 67 |ckDropRe|store, g|
|00000480| 52 45 56 4d 65 6e 75 74 | 6f 70 4c 65 66 74 2c 20 |REVMenut|opLeft, |
|00000490| 67 52 45 56 52 65 73 74 | 6f 72 65 0a 20 20 70 75 |gREVRest|ore. pu|
|000004a0| 74 20 74 68 65 20 77 69 | 6e 64 6f 77 42 6f 75 6e |t the wi|ndowBoun|
|000004b0| 64 69 6e 67 52 65 63 74 | 20 69 6e 74 6f 20 67 52 |dingRect| into gR|
|000004c0| 45 56 52 65 73 74 6f 72 | 65 5b 22 77 69 6e 64 6f |EVRestor|e["windo|
|000004d0| 77 42 6f 75 6e 64 69 6e | 67 52 65 63 74 22 5d 0a |wBoundin|gRect"].|
|000004e0| 20 20 73 65 74 20 74 68 | 65 20 77 69 6e 64 6f 77 | set th|e window|
|000004f0| 42 6f 75 6e 64 69 6e 67 | 52 65 63 74 20 74 6f 20 |Bounding|Rect to |
|00000500| 30 2c 30 2c 69 74 65 6d | 20 33 20 74 6f 20 34 20 |0,0,item| 3 to 4 |
|00000510| 6f 66 20 74 68 65 20 77 | 69 6e 64 6f 77 42 6f 75 |of the w|indowBou|
|00000520| 6e 64 69 6e 67 52 65 63 | 74 0a 20 20 6c 6f 63 6b |ndingRec|t. lock|
|00000530| 20 6d 65 73 73 61 67 65 | 73 0a 20 20 73 65 74 20 | message|s. set |
|00000540| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0a |cursor t|o watch.|
|00000550| 20 20 73 65 74 20 74 68 | 65 20 69 63 6f 6e 69 63 | set th|e iconic|
|00000560| 20 6f 66 20 73 74 61 63 | 6b 20 22 72 65 76 4d 65 | of stac|k "revMe|
|00000570| 6e 75 62 61 72 22 20 74 | 6f 20 74 72 75 65 0a 20 |nubar" t|o true. |
|00000580| 20 70 75 74 20 74 68 65 | 20 6f 70 65 6e 53 74 61 | put the| openSta|
|00000590| 63 6b 73 20 69 6e 74 6f | 20 74 4f 70 65 6e 53 74 |cks into| tOpenSt|
|000005a0| 61 63 6b 73 6c 69 73 74 | 0a 20 20 72 65 70 65 61 |ackslist|. repea|
|000005b0| 74 20 66 6f 72 20 65 61 | 63 68 20 6c 69 6e 65 20 |t for ea|ch line |
|000005c0| 6c 20 69 6e 20 74 4f 70 | 65 6e 53 74 61 63 6b 73 |l in tOp|enStacks|
|000005d0| 4c 69 73 74 0a 20 20 20 | 20 69 66 20 6c 20 69 73 |List. | if l is|
|000005e0| 20 22 72 65 76 4d 65 6e | 75 42 61 72 22 20 74 68 | "revMen|uBar" th|
|000005f0| 65 6e 20 6e 65 78 74 20 | 72 65 70 65 61 74 0a 20 |en next |repeat. |
|00000600| 20 20 20 69 66 20 74 68 | 65 20 76 69 73 69 62 6c | if th|e visibl|
|00000610| 65 20 6f 66 20 73 74 61 | 63 6b 20 6c 20 74 68 65 |e of sta|ck l the|
|00000620| 6e 0a 20 20 20 20 20 20 | 70 75 74 20 6c 20 26 20 |n. |put l & |
|00000630| 63 72 20 61 66 74 65 72 | 20 74 4d 61 78 6c 69 73 |cr after| tMaxlis|
|00000640| 74 0a 20 20 20 20 20 20 | 68 69 64 65 20 73 74 61 |t. |hide sta|
|00000650| 63 6b 20 6c 0a 20 20 20 | 20 65 6e 64 20 69 66 0a |ck l. | end if.|
|00000660| 20 20 65 6e 64 20 72 65 | 70 65 61 74 0a 20 20 64 | end re|peat. d|
|00000670| 65 6c 65 74 65 20 6c 61 | 73 74 20 63 68 61 72 20 |elete la|st char |
|00000680| 6f 66 20 74 4d 61 78 4c | 69 73 74 0a 20 20 73 65 |of tMaxL|ist. se|
|00000690| 74 20 74 68 65 20 63 52 | 45 56 4d 61 78 4c 69 73 |t the cR|EVMaxLis|
|000006a0| 74 20 6f 66 20 73 74 61 | 63 6b 20 22 72 65 76 4d |t of sta|ck "revM|
|000006b0| 65 6e 75 42 61 72 22 20 | 74 6f 20 74 4d 61 78 4c |enuBar" |to tMaxL|
|000006c0| 69 73 74 0a 20 20 69 66 | 20 74 68 65 20 62 61 63 |ist. if| the bac|
|000006d0| 6b 44 72 6f 70 20 69 73 | 20 6e 6f 74 20 22 6e 6f |kDrop is| not "no|
|000006e0| 6e 65 22 20 74 68 65 6e | 20 70 75 74 20 74 68 65 |ne" then| put the|
|000006f0| 20 62 61 63 6b 44 72 6f | 70 20 69 6e 74 6f 20 67 | backDro|p into g|
|00000700| 52 45 56 42 61 63 6b 44 | 72 6f 70 52 65 73 74 6f |REVBackD|ropResto|
|00000710| 72 65 0a 20 20 73 65 74 | 20 74 68 65 20 62 61 63 |re. set| the bac|
|00000720| 6b 44 72 6f 70 20 74 6f | 20 22 6e 6f 6e 65 22 0a |kDrop to| "none".|
|00000730| 20 20 75 6e 6c 6f 63 6b | 20 6d 65 73 73 61 67 65 | unlock| message|
|00000740| 73 0a 65 6e 64 20 69 63 | 6f 6e 69 66 79 53 74 61 |s.end ic|onifySta|
|00000750| 63 6b 0a 00 00 71 00 04 | 00 00 00 00 00 00 00 06 |ck...q..|........|
|00000760| 42 6c 61 63 6b 00 ff 00 | ff 00 ff 00 00 06 77 68 |Black...|......wh|
|00000770| 69 74 65 00 80 80 80 80 | 80 80 00 00 a9 00 a9 00 |ite.....|........|
|00000780| a9 00 00 09 64 61 72 6b | 67 72 61 79 00 80 00 00 |....dark|gray....|
|00000790| 00 00 16 04 80 00 3b 00 | 00 00 0b 0c 63 52 45 56 |......;.|....cREV|
|000007a0| 4d 61 78 4c 69 73 74 00 | 00 34 52 45 56 50 72 6f |MaxList.|.4REVPro|
|000007b0| 70 65 72 74 79 50 61 6c | 65 74 74 65 32 0a 72 65 |pertyPal|ette2.re|
|000007c0| 76 45 72 72 6f 72 44 69 | 73 70 6c 61 79 0a 72 65 |vErrorDi|splay.re|
|000007d0| 76 54 6f 6f 6c 73 0a 52 | 65 76 43 41 4c 4c 0f 63 |vTools.R|evCALL.c|
|000007e0| 52 45 56 52 65 73 74 6f | 72 65 4c 6f 63 00 00 06 |REVResto|reLoc...|
|000007f0| 33 35 33 2c 35 34 13 63 | 52 45 56 53 74 61 63 6b |353,54.c|REVStack|
|00000800| 50 6f 73 69 74 69 6f 6e | 58 00 00 03 31 38 36 13 |Position|X...186.|
|00000810| 63 52 45 56 73 74 61 63 | 6b 50 6f 73 69 74 69 6f |cREVstac|kPositio|
|00000820| 6e 59 00 00 02 33 33 0b | 63 56 65 72 73 69 6f 6e |nY...33.|cVersion|
|00000830| 4e 6f 00 00 07 31 2e 31 | 2e 31 72 32 0f 63 52 45 |No...1.1|.1r2.cRE|
|00000840| 56 47 65 74 73 55 70 64 | 61 74 65 00 00 04 74 72 |VGetsUpd|ate...tr|
|00000850| 75 65 11 63 52 45 56 4c | 61 73 74 50 72 65 76 54 |ue.cREVL|astPrevT|
|00000860| 69 6d 65 00 00 0d 31 30 | 31 36 31 36 33 38 36 33 |ime...10|16163863|
|00000870| 30 37 39 0e 63 52 45 56 | 4e 65 77 4f 62 6a 65 63 |079.cREV|NewObjec|
|00000880| 74 00 00 05 53 74 61 63 | 6b 0c 73 68 6f 77 6d 65 |t...Stac|k.showme|
|00000890| 6e 75 62 61 72 00 00 05 | 66 61 6c 73 65 09 72 65 |nubar...|false.re|
|000008a0| 76 73 74 61 63 6b 00 00 | 05 66 61 6c 73 65 15 63 |vstack..|.false.c|
|000008b0| 52 45 56 4d 6f 75 73 65 | 43 6f 6f 72 64 69 6e 61 |REVMouse|Coordina|
|000008c0| 74 65 73 00 00 04 74 72 | 75 65 00 00 00 00 00 00 |tes...tr|ue......|
|000008d0| 00 00 00 0b 52 65 76 6f | 6c 75 74 69 6f 6e 00 00 |....Revo|lution..|
|000008e0| 00 00 0a 72 65 76 64 62 | 2e 64 6c 6c 00 00 17 00 |...revdb|.dll....|
|000008f0| 0e 00 55 00 0a 48 65 6c | 76 65 74 69 63 61 00 00 |..U..Hel|vetica..|
|00000900| 0e 00 55 00 0e 4d 53 20 | 53 61 6e 73 20 73 65 72 |..U..MS |Sans ser|
|00000910| 69 66 00 00 0a 00 55 00 | 0e 4d 53 20 53 61 6e 73 |if....U.|.MS Sans|
|00000920| 20 73 65 72 69 66 00 00 | 0a 00 57 00 0e 4d 53 20 | serif..|..W..MS |
|00000930| 53 61 6e 73 20 73 65 72 | 69 66 00 00 0a 01 55 00 |Sans ser|if....U.|
|00000940| 0e 4d 53 20 53 61 6e 73 | 20 73 65 72 69 66 00 00 |.MS Sans| serif..|
|00000950| 0a 00 55 00 07 67 65 6e | 65 76 61 00 00 0a 00 57 |..U..gen|eva....W|
|00000960| 00 07 67 65 6e 65 76 61 | 00 00 0a 01 55 00 07 67 |..geneva|....U..g|
|00000970| 65 6e 65 76 61 00 00 09 | 00 55 00 0e 4d 53 20 53 |eneva...|.U..MS S|
|00000980| 61 6e 73 20 53 65 72 69 | 66 00 00 08 00 55 00 0e |ans Seri|f....U..|
|00000990| 4d 53 20 53 61 6e 73 20 | 53 65 72 69 66 00 00 0a |MS Sans |Serif...|
|000009a0| 00 55 00 06 61 72 69 61 | 6c 00 00 0c 00 55 00 06 |.U..aria|l....U..|
|000009b0| 61 72 69 61 6c 00 00 0a | 20 55 00 06 61 72 69 61 |arial...| U..aria|
|000009c0| 6c 00 00 0a 10 55 00 06 | 61 72 69 61 6c 00 00 0a |l....U..|arial...|
|000009d0| 10 55 00 0e 4d 53 20 53 | 61 6e 73 20 53 65 72 69 |.U..MS S|ans Seri|
|000009e0| 66 00 00 0b 00 55 00 0e | 4d 53 20 53 61 6e 73 20 |f....U..|MS Sans |
|000009f0| 53 65 72 69 66 00 00 0b | 00 55 00 06 61 72 69 61 |Serif...|.U..aria|
|00000a00| 6c 00 00 0b 10 55 00 06 | 61 72 69 61 6c 00 00 0b |l....U..|arial...|
|00000a10| 10 55 00 0e 4d 53 20 53 | 61 6e 73 20 53 65 72 69 |.U..MS S|ans Seri|
|00000a20| 66 00 00 0a 10 55 00 07 | 47 65 6e 65 76 61 00 00 |f....U..|Geneva..|
|00000a30| 09 00 55 00 07 47 65 6e | 65 76 61 00 00 09 10 55 |..U..Gen|eva....U|
|00000a40| 00 07 47 65 6e 65 76 61 | 00 00 0a 10 55 00 0a 48 |..Geneva|....U..H|
|00000a50| 65 6c 76 65 74 69 63 61 | 00 00 0b 72 65 76 4d 65 |elvetica|...revMe|
|00000a60| 6e 75 42 61 72 00 18 00 | 0c 63 52 45 56 47 65 6e |nuBar...|.cREVGen|
|00000a70| 65 72 61 6c 00 00 00 00 | 07 0f 73 63 72 69 70 74 |eral....|..script|
|00000a80| 43 68 65 63 6b 73 75 6d | 00 00 10 6b ac 25 c1 57 |Checksum|...k.%.W|
|00000a90| 69 7b 9a 07 2c 12 6e f3 | 83 bd 20 0a 62 6f 6f 6b |i{..,.n.|.. .book|
|00000aa0| 6d 61 72 6b 73 00 00 00 | 0c 68 61 6e 64 6c 65 72 |marks...|.handler|
|00000ab0| 4c 69 73 74 00 00 2a 75 | 6e 49 63 6f 6e 69 66 79 |List..*u|nIconify|
|00000ac0| 53 74 61 63 6b 0a 63 6f | 6d 6d 61 6e 64 4b 65 79 |Stack.co|mmandKey|
|00000ad0| 44 6f 77 6e 0a 69 63 6f | 6e 69 66 79 53 74 61 63 |Down.ico|nifyStac|
|00000ae0| 6b 10 73 63 72 69 70 74 | 53 65 6c 65 63 74 69 6f |k.script|Selectio|
|00000af0| 6e 00 00 0f 63 68 61 72 | 20 32 31 39 20 74 6f 20 |n...char| 219 to |
|00000b00| 32 31 38 0c 70 72 65 76 | 48 61 6e 64 6c 65 72 00 |218.prev|Handler.|
|00000b10| 00 0e 75 6e 49 63 6f 6e | 69 66 79 53 74 61 63 6b |..unIcon|ifyStack|
|00000b20| 0b 74 65 6d 70 53 63 72 | 69 70 74 00 00 00 07 73 |.tempScr|ipt....s|
|00000b30| 63 72 69 70 74 00 00 00 | 18 00 0f 63 52 45 56 54 |cript...|...cREVT|
|00000b40| 65 6d 70 4d 61 73 74 65 | 72 00 00 00 00 30 13 77 |empMaste|r....0.w|
|00000b50| 69 6e 64 6f 77 4d 61 6e | 61 67 65 72 50 6c 61 63 |indowMan|agerPlac|
|00000b60| 65 00 00 05 66 61 6c 73 | 65 0b 73 74 61 63 6b 46 |e...fals|e.stackF|
|00000b70| 69 6c 65 73 00 00 00 08 | 6d 65 6e 75 62 61 72 00 |iles....|menubar.|
|00000b80| 00 0a 72 65 76 4d 65 6e | 75 42 61 72 07 74 68 72 |..revMen|uBar.thr|
|00000b90| 65 65 44 00 00 06 41 70 | 70 4b 69 74 0a 63 61 6e |eeD...Ap|pKit.can|
|00000ba0| 74 41 62 6f 72 74 00 00 | 05 66 61 6c 73 65 05 72 |tAbort..|.false.r|
|00000bb0| 65 63 74 00 00 0d 33 37 | 2c 33 34 2c 38 36 39 2c |ect...37|,34,869,|
|00000bc0| 31 32 34 09 6d 61 78 57 | 69 64 74 68 00 00 05 36 |124.maxW|idth...6|
|00000bd0| 35 35 33 35 09 70 61 74 | 74 65 72 6e 73 00 00 08 |5535.pat|terns...|
|00000be0| 0a 0a 0a 0a 0a 0a 0a 0a | 09 66 69 6c 65 4e 61 6d |........|.fileNam|
|00000bf0| 65 00 00 28 43 3a 2f 41 | 70 70 4b 69 74 2f 43 6f |e..(C:/A|ppKit/Co|
|00000c00| 6d 70 6f 6e 65 6e 74 73 | 2f 54 6f 6f 6c 73 2f 72 |mponents|/Tools/r|
|00000c10| 65 76 6d 65 6e 75 62 61 | 72 2e 6d 63 07 63 6f 6c |evmenuba|r.mc.col|
|00000c20| 6f 72 73 00 00 2f 42 6c | 61 63 6b 0a 0a 31 30 32 |ors../Bl|ack..102|
|00000c30| 2c 31 30 32 2c 31 30 32 | 0a 0a 77 68 69 74 65 0a |,102,102|..white.|
|00000c40| 31 32 38 2c 31 32 38 2c | 31 32 38 0a 64 61 72 6b |128,128,|128.dark|
|00000c50| 67 72 61 79 0a 0c 64 65 | 63 6f 72 61 74 69 6f 6e |gray..de|coration|
|00000c60| 73 00 00 07 64 65 66 61 | 75 6c 74 09 70 69 78 6d |s...defa|ult.pixm|
|00000c70| 61 70 49 64 00 00 04 34 | 35 32 32 07 69 63 6f 6e |apId...4|522.icon|
|00000c80| 69 63 00 00 05 66 61 6c | 73 65 0b 63 61 6e 74 44 |ic...fal|se.cantD|
|00000c90| 65 6c 65 74 65 00 00 05 | 66 61 6c 73 65 0a 69 6e |elete...|false.in|
|00000ca0| 76 69 73 69 62 6c 65 00 | 00 05 66 61 6c 73 65 03 |visible.|..false.|
|00000cb0| 69 64 00 00 04 31 31 30 | 32 06 61 6c 74 49 64 00 |id...110|2.altId.|
|00000cc0| 00 01 30 0d 68 63 41 64 | 64 72 65 73 73 69 6e 67 |..0.hcAd|dressing|
|00000cd0| 00 00 05 66 61 6c 73 65 | 0e 73 74 61 72 74 55 70 |...false|.startUp|
|00000ce0| 49 63 6f 6e 69 63 00 00 | 05 66 61 6c 73 65 06 74 |Iconic..|.false.t|
|00000cf0| 69 74 6c 65 00 00 06 41 | 70 70 4b 69 74 0a 74 65 |itle...A|ppKit.te|
|00000d00| 78 74 53 74 79 6c 65 00 | 00 05 70 6c 61 69 6e 0a |xtStyle.|..plain.|
|00000d10| 65 78 74 65 72 6e 61 6c | 73 00 00 00 0b 63 61 6e |external|s....can|
|00000d20| 74 4d 6f 64 69 66 79 00 | 00 05 66 61 6c 73 65 0a |tModify.|..false.|
|00000d30| 6d 61 78 48 65 69 67 68 | 74 00 00 05 36 35 35 33 |maxHeigh|t...6553|
|00000d40| 35 06 73 74 79 6c 65 00 | 00 08 74 6f 70 6c 65 76 |5.style.|..toplev|
|00000d50| 65 6c 0e 64 65 73 74 72 | 6f 79 57 69 6e 64 6f 77 |el.destr|oyWindow|
|00000d60| 00 00 05 66 61 6c 73 65 | 08 63 68 61 72 73 65 74 |...false|.charset|
|00000d70| 00 00 09 4d 61 63 69 6e | 74 6f 73 68 0a 73 75 62 |...Macin|tosh.sub|
|00000d80| 73 74 61 63 6b 73 00 00 | 0c 72 65 76 48 65 6c 70 |stacks..|.revHelp|
|00000d90| 50 6f 70 75 70 05 73 69 | 7a 65 00 00 05 31 30 30 |Popup.si|ze...100|
|00000da0| 30 30 09 70 61 73 73 77 | 6f 72 64 00 00 00 07 73 |00.passw|ord....s|
|00000db0| 63 72 6f 6c 6c 00 00 01 | 30 08 70 61 73 73 6b 65 |croll...|0.passke|
|00000dc0| 79 00 00 00 0a 72 65 73 | 69 7a 61 62 6c 65 00 00 |y....res|izable..|
|00000dd0| 04 74 72 75 65 05 6e 61 | 6d 65 00 00 0a 72 65 76 |.true.na|me...rev|
|00000de0| 4d 65 6e 75 62 61 72 05 | 69 63 6f 6e 00 00 01 30 |Menubar.|icon...0|
|00000df0| 0d 61 6c 77 61 79 73 42 | 75 66 66 65 72 00 00 04 |.alwaysB|uffer...|
|00000e00| 74 72 75 65 09 77 69 6e | 64 6f 77 49 64 00 00 04 |true.win|dowId...|
|00000e10| 33 30 33 36 05 6d 6f 64 | 65 00 00 01 34 08 76 69 |3036.mod|e...4.vi|
|00000e20| 73 69 62 6c 65 00 00 04 | 74 72 75 65 09 6d 69 6e |sible...|true.min|
|00000e30| 57 69 64 74 68 00 00 02 | 33 32 0b 73 68 6f 77 42 |Width...|32.showB|
|00000e40| 6f 72 64 65 72 00 00 05 | 31 30 30 30 30 09 74 65 |order...|10000.te|
|00000e50| 78 74 53 69 7a 65 00 00 | 02 31 30 0d 64 65 73 74 |xtSize..|.10.dest|
|00000e60| 72 6f 79 53 74 61 63 6b | 00 00 05 66 61 6c 73 65 |royStack|...false|
|00000e70| 06 6f 77 6e 65 72 00 00 | 00 0a 6d 61 69 6e 53 74 |.owner..|..mainSt|
|00000e80| 61 63 6b 00 00 0a 72 65 | 76 4d 65 6e 75 62 61 72 |ack...re|vMenubar|
|00000e90| 09 74 65 78 74 46 6f 6e | 74 00 00 0d 4d 53 20 53 |.textFon|t...MS S|
|00000ea0| 61 6e 73 20 73 65 72 69 | 66 0a 6d 69 6e 48 65 69 |ans seri|f.minHei|
|00000eb0| 67 68 74 00 00 02 33 32 | 0d 64 79 6e 61 6d 69 63 |ght...32|.dynamic|
|00000ec0| 50 61 74 68 73 00 00 05 | 66 61 6c 73 65 04 00 00 |Paths...|false...|
|00000ed0| 03 ea 00 00 00 00 09 70 | 54 55 6c 6f 63 61 6c 20 |.......p|TUlocal |
|00000ee0| 6c 4f 72 69 67 4c 6f 63 | 2c 20 6c 54 61 72 67 65 |lOrigLoc|, lTarge|
|00000ef0| 74 53 70 65 63 73 2c 20 | 6c 43 75 72 72 65 6e 74 |tSpecs, |lCurrent|
|00000f00| 4f 62 6a 65 63 74 2c 20 | 6f 6c 64 53 74 79 6c 65 |Object, |oldStyle|
|00000f10| 0a 67 6c 6f 62 61 6c 20 | 67 52 45 56 54 65 78 74 |.global |gREVText|
|00000f20| 4d 65 6e 75 2c 20 67 52 | 45 56 44 69 73 61 62 6c |Menu, gR|EVDisabl|
|00000f30| 65 64 54 65 78 74 0a 0a | 6f 6e 20 70 72 65 4f 70 |edText..|on preOp|
|00000f40| 65 6e 53 74 61 63 6b 0a | 20 20 67 6c 6f 62 61 6c |enStack.| global|
|00000f50| 20 67 52 45 56 53 74 61 | 72 74 75 70 4c 69 73 74 | gREVSta|rtupList|
|00000f60| 2c 20 67 52 45 56 53 68 | 75 74 64 6f 77 6e 6c 69 |, gREVSh|utdownli|
|00000f70| 73 74 2c 20 67 52 45 56 | 44 6f 6e 74 4c 6f 61 64 |st, gREV|DontLoad|
|00000f80| 4d 65 6e 75 73 0a 20 20 | 69 66 20 67 52 45 56 44 |Menus. |if gREVD|
|00000f90| 6f 6e 74 4c 6f 61 64 4d | 65 6e 75 73 20 74 68 65 |ontLoadM|enus the|
|00000fa0| 6e 0a 20 20 20 20 70 75 | 74 20 66 61 6c 73 65 20 |n. pu|t false |
|00000fb0| 69 6e 74 6f 20 67 52 45 | 56 44 6f 6e 74 4c 6f 61 |into gRE|VDontLoa|
|00000fc0| 64 4d 65 6e 75 73 0a 20 | 20 20 20 65 78 69 74 20 |dMenus. | exit |
|00000fd0| 70 72 65 4f 70 65 6e 53 | 74 61 63 6b 0a 20 20 65 |preOpenS|tack. e|
|00000fe0| 6e 64 20 69 66 0a 20 20 | 2d 2d 71 75 69 74 2f 65 |nd if. |--quit/e|
|00000ff0| 78 69 74 0a 20 20 69 66 | 20 74 68 65 20 70 6c 61 |xit. if| the pla|
|00001000| 74 66 6f 72 6d 20 69 73 | 20 22 4d 61 63 4f 53 22 |tform is| "MacOS"|
|00001010| 20 74 68 65 6e 0a 20 20 | 20 20 73 65 74 20 74 68 | then. | set th|
|00001020| 65 20 73 68 6f 77 42 6f | 72 64 65 72 20 6f 66 20 |e showBo|rder of |
|00001030| 74 68 69 73 20 63 64 20 | 74 6f 20 74 72 75 65 0a |this cd |to true.|
|00001040| 20 20 20 20 73 65 74 20 | 74 68 65 20 6c 6f 63 20 | set |the loc |
|00001050| 6f 66 20 67 72 63 20 31 | 20 74 6f 20 33 30 34 2c |of grc 1| to 304,|
|00001060| 35 39 0a 20 20 20 20 73 | 65 74 20 74 68 65 20 6c |59. s|et the l|
|00001070| 6f 63 20 6f 66 20 67 72 | 63 20 32 20 74 6f 20 32 |oc of gr|c 2 to 2|
|00001080| 30 38 2c 32 31 0a 20 20 | 20 20 73 65 74 20 74 68 |08,21. | set th|
|00001090| 65 20 6c 6f 63 20 6f 66 | 20 67 72 63 20 33 20 74 |e loc of| grc 3 t|
|000010a0| 6f 20 39 38 34 2c 35 39 | 0a 20 20 20 20 73 65 74 |o 984,59|. set|
|000010b0| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 67 72 63 20 | the loc| of grc |
|000010c0| 34 20 74 6f 20 39 35 38 | 2c 32 31 0a 20 20 65 6c |4 to 958|,21. el|
|000010d0| 73 65 0a 20 20 20 20 73 | 65 74 20 74 68 65 20 73 |se. s|et the s|
|000010e0| 68 6f 77 42 6f 72 64 65 | 72 20 6f 66 20 74 68 69 |howBorde|r of thi|
|000010f0| 73 20 63 64 20 74 6f 20 | 66 61 6c 73 65 0a 20 20 |s cd to |false. |
|00001100| 20 20 73 65 74 20 74 68 | 65 20 6c 6f 63 20 6f 66 | set th|e loc of|
|00001110| 20 67 72 63 20 31 20 74 | 6f 20 30 2c 2d 31 30 30 | grc 1 t|o 0,-100|
|00001120| 0a 20 20 20 20 73 65 74 | 20 74 68 65 20 6c 6f 63 |. set| the loc|
|00001130| 20 6f 66 20 67 72 63 20 | 32 20 74 6f 20 30 2c 2d | of grc |2 to 0,-|
|00001140| 31 30 30 0a 20 20 20 20 | 73 65 74 20 74 68 65 20 |100. |set the |
|00001150| 6c 6f 63 20 6f 66 20 67 | 72 63 20 33 20 74 6f 20 |loc of g|rc 3 to |
|00001160| 30 2c 2d 31 30 30 0a 20 | 20 20 20 73 65 74 20 74 |0,-100. | set t|
|00001170| 68 65 20 6c 6f 63 20 6f | 66 20 67 72 63 20 34 20 |he loc o|f grc 4 |
|00001180| 74 6f 20 30 2c 2d 31 30 | 30 0a 20 20 20 20 69 66 |to 0,-10|0. if|
|00001190| 20 69 74 65 6d 20 33 20 | 6f 66 20 74 68 65 20 73 | item 3 |of the s|
|000011a0| 63 72 65 65 6e 52 65 63 | 74 20 69 73 20 38 30 30 |creenRec|t is 800|
|000011b0| 20 74 68 65 6e 0a 20 20 | 20 20 20 20 73 65 74 20 | then. | set |
|000011c0| 74 68 65 20 74 6f 70 4c | 65 66 74 20 6f 66 20 74 |the topL|eft of t|
|000011d0| 68 69 73 20 73 74 61 63 | 6b 20 74 6f 20 30 2c 31 |his stac|k to 0,1|
|000011e0| 0a 20 20 20 20 65 6c 73 | 65 0a 20 20 20 20 20 20 |. els|e. |
|000011f0| 2d 2d 73 63 72 65 65 6e | 20 72 65 63 74 20 3e 20 |--screen| rect > |
|00001200| 38 30 30 20 62 79 20 36 | 30 30 0a 20 20 20 20 20 |800 by 6|00. |
|00001210| 20 69 66 20 74 68 65 20 | 63 52 45 56 4d 65 6e 75 | if the |cREVMenu|
|00001220| 42 61 72 54 6f 70 4c 65 | 66 74 20 6f 66 20 73 74 |BarTopLe|ft of st|
|00001230| 61 63 6b 20 22 72 65 76 | 50 72 65 66 65 72 65 6e |ack "rev|Preferen|
|00001240| 63 65 73 22 20 69 73 20 | 65 6d 70 74 79 0a 20 20 |ces" is |empty. |
|00001250| 20 20 20 20 74 68 65 6e | 20 73 65 74 20 74 68 65 | then| set the|
|00001260| 20 6c 6f 63 20 6f 66 20 | 74 68 69 73 20 73 74 61 | loc of |this sta|
|00001270| 63 6b 20 74 6f 20 69 74 | 65 6d 20 31 20 6f 66 20 |ck to it|em 1 of |
|00001280| 74 68 65 20 73 63 72 65 | 65 6e 4c 6f 63 2c 20 35 |the scre|enLoc, 5|
|00001290| 34 0a 20 20 20 20 20 20 | 65 6c 73 65 20 73 65 74 |4. |else set|
|000012a0| 20 74 68 65 20 74 6f 70 | 4c 65 66 74 20 6f 66 20 | the top|Left of |
|000012b0| 74 68 69 73 20 73 74 61 | 63 6b 20 74 6f 20 74 68 |this sta|ck to th|
|000012c0| 65 20 63 52 45 56 4d 65 | 6e 75 42 61 72 54 6f 70 |e cREVMe|nuBarTop|
|000012d0| 4c 65 66 74 20 6f 66 20 | 73 74 61 63 6b 20 22 72 |Left of |stack "r|
|000012e0| 65 76 50 72 65 66 65 72 | 65 6e 63 65 73 22 20 20 |evPrefer|ences" |
|000012f0| 20 0a 20 20 20 20 65 6e | 64 20 69 66 0a 20 20 65 | . en|d if. e|
|00001300| 6e 64 20 69 66 0a 20 20 | 69 66 20 74 68 65 20 70 |nd if. |if the p|
|00001310| 6c 61 74 66 6f 72 6d 20 | 69 73 20 6e 6f 74 20 22 |latform |is not "|
|00001320| 57 69 6e 33 32 22 20 74 | 68 65 6e 0a 20 20 20 20 |Win32" t|hen. |
|00001330| 70 75 74 20 22 26 51 75 | 69 74 2f 51 22 20 69 6e |put "&Qu|it/Q" in|
|00001340| 74 6f 20 6d 65 6e 75 49 | 74 65 6d 20 28 74 68 65 |to menuI|tem (the|
|00001350| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00001360| 20 69 6e 20 74 68 65 20 | 74 65 78 74 20 6f 66 20 | in the |text of |
|00001370| 62 74 6e 20 22 46 69 6c | 65 22 29 20 6f 66 20 62 |btn "Fil|e") of b|
|00001380| 74 6e 20 22 46 69 6c 65 | 22 0a 20 20 65 6c 73 65 |tn "File|". else|
|00001390| 0a 20 20 20 20 70 75 74 | 20 22 45 26 78 69 74 22 |. put| "E&xit"|
|000013a0| 20 69 6e 74 6f 20 6d 65 | 6e 75 49 74 65 6d 20 28 | into me|nuItem (|
|000013b0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|000013c0| 6e 65 73 20 69 6e 20 74 | 68 65 20 74 65 78 74 20 |nes in t|he text |
|000013d0| 6f 66 20 62 74 6e 20 22 | 46 69 6c 65 22 29 20 6f |of btn "|File") o|
|000013e0| 66 20 62 74 6e 20 22 46 | 69 6c 65 22 0a 20 20 65 |f btn "F|ile". e|
|000013f0| 6e 64 20 69 66 0a 20 20 | 2d 2d 72 65 63 65 6e 74 |nd if. |--recent|
|00001400| 20 6c 69 73 74 0a 20 20 | 70 75 74 20 74 68 65 20 | list. |put the |
|00001410| 63 52 45 56 52 65 63 65 | 6e 74 4c 69 73 74 20 6f |cREVRece|ntList o|
|00001420| 66 20 73 74 61 63 6b 20 | 22 72 65 76 50 72 65 66 |f stack |"revPref|
|00001430| 65 72 65 6e 63 65 73 22 | 20 69 6e 74 6f 20 74 52 |erences"| into tR|
|00001440| 65 63 65 6e 74 4c 69 73 | 74 0a 20 20 70 75 74 20 |ecentLis|t. put |
|00001450| 74 68 65 20 63 52 45 56 | 52 65 63 65 6e 74 50 61 |the cREV|RecentPa|
|00001460| 74 68 73 20 6f 66 20 73 | 74 61 63 6b 20 72 65 76 |ths of s|tack rev|
|00001470| 50 72 65 66 65 72 65 6e | 63 65 73 20 69 6e 74 6f |Preferen|ces into|
|00001480| 20 74 46 69 6c 65 73 0a | 20 20 70 75 74 20 31 20 | tFiles.| put 1 |
|00001490| 69 6e 74 6f 20 74 4c 69 | 6e 65 4e 6f 0a 20 20 72 |into tLi|neNo. r|
|000014a0| 65 70 65 61 74 20 66 6f | 72 20 65 61 63 68 20 6c |epeat fo|r each l|
|000014b0| 69 6e 65 20 6c 20 69 6e | 20 74 46 69 6c 65 73 0a |ine l in| tFiles.|
|000014c0| 20 20 20 20 69 66 20 6c | 20 69 73 20 65 6d 70 74 | if l| is empt|
|000014d0| 79 20 74 68 65 6e 20 6e | 65 78 74 20 72 65 70 65 |y then n|ext repe|
|000014e0| 61 74 0a 20 20 20 20 69 | 66 20 6e 6f 74 20 28 74 |at. i|f not (t|
|000014f0| 68 65 72 65 20 69 73 20 | 61 20 66 69 6c 65 20 6c |here is |a file l|
|00001500| 29 20 74 68 65 6e 0a 20 | 20 20 20 20 20 64 65 6c |) then. | del|
|00001510| 65 74 65 20 6c 69 6e 65 | 20 74 4c 69 6e 65 4e 6f |ete line| tLineNo|
|00001520| 20 6f 66 20 74 52 65 63 | 65 6e 74 4c 69 73 74 0a | of tRec|entList.|
|00001530| 20 20 20 20 20 20 64 65 | 6c 65 74 65 20 6c 69 6e | de|lete lin|
|00001540| 65 20 74 4c 69 6e 65 4e | 6f 20 6f 66 20 74 46 69 |e tLineN|o of tFi|
|00001550| 6c 65 73 0a 20 20 20 20 | 65 6e 64 20 69 66 0a 20 |les. |end if. |
|00001560| 20 20 20 61 64 64 20 31 | 20 74 6f 20 74 4c 69 6e | add 1| to tLin|
|00001570| 65 4e 6f 0a 20 20 65 6e | 64 20 72 65 70 65 61 74 |eNo. en|d repeat|
|00001580| 0a 20 20 6c 6f 63 6b 20 | 6d 65 73 73 61 67 65 73 |. lock |messages|
|00001590| 0a 20 20 73 65 74 20 74 | 68 65 20 63 52 45 56 52 |. set t|he cREVR|
|000015a0| 65 63 65 6e 74 4c 69 73 | 74 20 6f 66 20 73 74 61 |ecentLis|t of sta|
|000015b0| 63 6b 20 22 72 65 76 50 | 72 65 66 65 72 65 6e 63 |ck "revP|referenc|
|000015c0| 65 73 22 20 74 6f 20 74 | 52 65 63 65 6e 74 4c 69 |es" to t|RecentLi|
|000015d0| 73 74 0a 20 20 73 65 74 | 20 74 68 65 20 63 52 45 |st. set| the cRE|
|000015e0| 56 52 65 63 65 6e 74 50 | 61 74 68 73 20 6f 66 20 |VRecentP|aths of |
|000015f0| 73 74 61 63 6b 20 72 65 | 76 50 72 65 66 65 72 65 |stack re|vPrefere|
|00001600| 6e 63 65 73 20 74 6f 20 | 74 46 69 6c 65 73 0a 20 |nces to |tFiles. |
|00001610| 20 75 6e 6c 6f 63 6b 20 | 6d 65 73 73 61 67 65 73 | unlock |messages|
|00001620| 0a 20 20 69 66 20 74 52 | 65 63 65 6e 74 4c 69 73 |. if tR|ecentLis|
|00001630| 74 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0a |t is emp|ty then.|
|00001640| 20 20 20 20 69 66 20 74 | 68 65 20 70 6c 61 74 66 | if t|he platf|
|00001650| 6f 72 6d 20 69 73 20 6e | 6f 74 20 22 4d 61 63 4f |orm is n|ot "MacO|
|00001660| 53 22 20 74 68 65 6e 0a | 20 20 20 20 20 20 70 75 |S" then.| pu|
|00001670| 74 20 74 61 62 20 26 20 | 22 28 4e 6f 6e 65 20 46 |t tab & |"(None F|
|00001680| 6f 75 6e 64 22 20 69 6e | 74 6f 20 74 52 65 63 65 |ound" in|to tRece|
|00001690| 6e 74 4c 69 73 74 0a 20 | 20 20 20 65 6c 73 65 0a |ntList. | else.|
|000016a0| 20 20 20 20 20 20 70 75 | 74 20 22 28 4e 6f 6e 65 | pu|t "(None|
|000016b0| 20 46 6f 75 6e 64 22 20 | 69 6e 74 6f 20 74 52 65 | Found" |into tRe|
|000016c0| 63 65 6e 74 4c 69 73 74 | 0a 20 20 20 20 65 6e 64 |centList|. end|
|000016d0| 20 69 66 0a 20 20 65 6e | 64 20 69 66 0a 20 20 72 | if. en|d if. r|
|000016e0| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|000016f0| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00001700| 66 20 6c 69 6e 65 73 20 | 69 6e 20 74 52 65 63 65 |f lines |in tRece|
|00001710| 6e 74 4c 69 73 74 0a 20 | 20 20 20 70 75 74 20 74 |ntList. | put t|
|00001720| 61 62 20 62 65 66 6f 72 | 65 20 6c 69 6e 65 20 69 |ab befor|e line i|
|00001730| 20 6f 66 20 74 52 65 63 | 65 6e 74 4c 69 73 74 0a | of tRec|entList.|
|00001740| 20 20 65 6e 64 20 72 65 | 70 65 61 74 0a 20 20 69 | end re|peat. i|
|00001750| 66 20 74 68 65 20 70 6c | 61 74 66 6f 72 6d 20 69 |f the pl|atform i|
|00001760| 73 20 22 4d 61 63 4f 53 | 22 20 61 6e 64 20 22 4e |s "MacOS|" and "N|
|00001770| 6f 6e 65 20 46 6f 75 6e | 64 22 20 69 73 20 6e 6f |one Foun|d" is no|
|00001780| 74 20 69 6e 20 74 52 65 | 63 65 6e 74 4c 69 73 74 |t in tRe|centList|
|00001790| 20 74 68 65 6e 20 72 65 | 70 6c 61 63 65 20 22 28 | then re|place "(|
|000017a0| 22 20 77 69 74 68 20 22 | 5b 22 20 69 6e 20 74 52 |" with "|[" in tR|
|000017b0| 65 63 65 6e 74 4c 69 73 | 74 2d 2d 22 28 22 20 77 |ecentLis|t--"(" w|
|000017c0| 69 6c 6c 20 64 69 73 61 | 62 6c 65 20 6d 65 6e 75 |ill disa|ble menu|
|000017d0| 20 69 74 65 6d 20 6f 6e | 20 4d 61 63 20 4f 53 20 | item on| Mac OS |
|000017e0| 6d 65 6e 75 62 61 72 0a | 20 20 69 66 20 63 68 61 |menubar.| if cha|
|000017f0| 72 54 6f 4e 75 6d 28 6c | 61 73 74 20 63 68 61 72 |rToNum(l|ast char|
|00001800| 20 6f 66 20 74 52 65 63 | 65 6e 74 4c 69 73 74 29 | of tRec|entList)|
|00001810| 20 69 73 20 31 30 20 74 | 68 65 6e 20 64 65 6c 65 | is 10 t|hen dele|
|00001820| 74 65 20 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |te last |char of |
|00001830| 74 52 65 63 65 6e 74 4c | 69 73 74 0a 20 20 70 75 |tRecentL|ist. pu|
|00001840| 74 20 74 68 65 20 74 65 | 78 74 20 6f 66 20 62 74 |t the te|xt of bt|
|00001850| 6e 20 22 46 69 6c 65 22 | 20 6f 66 20 73 74 61 63 |n "File"| of stac|
|00001860| 6b 20 22 72 65 76 4d 65 | 6e 75 42 61 72 22 20 69 |k "revMe|nuBar" i|
|00001870| 6e 74 6f 20 74 46 69 6c | 65 0a 20 20 70 75 74 20 |nto tFil|e. put |
|00001880| 6c 69 6e 65 4f 66 66 73 | 65 74 28 22 4f 70 65 6e |lineOffs|et("Open|
|00001890| 20 52 65 63 65 6e 74 20 | 26 53 74 61 63 6b 22 2c | Recent |&Stack",|
|000018a0| 74 46 69 6c 65 29 2b 31 | 20 69 6e 74 6f 20 74 53 |tFile)+1| into tS|
|000018b0| 74 61 72 74 0a 20 20 70 | 75 74 20 6c 69 6e 65 4f |tart. p|ut lineO|
|000018c0| 66 66 73 65 74 28 22 26 | 43 6c 6f 73 65 2f 57 22 |ffset("&|Close/W"|
|000018d0| 2c 74 46 69 6c 65 29 2d | 31 20 69 6e 74 6f 20 74 |,tFile)-|1 into t|
|000018e0| 45 6e 64 0a 20 20 70 75 | 74 20 74 52 65 63 65 6e |End. pu|t tRecen|
|000018f0| 74 4c 69 73 74 20 69 6e | 74 6f 20 6c 69 6e 65 20 |tList in|to line |
|00001900| 74 53 74 61 72 74 20 74 | 6f 20 74 45 6e 64 20 6f |tStart t|o tEnd o|
|00001910| 66 20 74 46 69 6c 65 0a | 20 20 73 65 74 20 74 68 |f tFile.| set th|
|00001920| 65 20 74 65 78 74 20 6f | 66 20 62 74 6e 20 22 46 |e text o|f btn "F|
|00001930| 69 6c 65 22 20 6f 66 20 | 73 74 61 63 6b 20 22 72 |ile" of |stack "r|
|00001940| 65 76 4d 65 6e 75 42 61 | 72 22 20 74 6f 20 74 46 |evMenuBa|r" to tF|
|00001950| 69 6c 65 0a 20 20 69 66 | 20 6e 6f 74 20 74 68 65 |ile. if| not the|
|00001960| 20 73 65 6c 65 63 74 47 | 72 6f 75 70 65 64 43 6f | selectG|roupedCo|
|00001970| 6e 74 72 6f 6c 73 20 74 | 68 65 6e 20 73 65 74 20 |ntrols t|hen set |
|00001980| 74 68 65 20 6c 6f 63 20 | 6f 66 20 62 74 6e 20 22 |the loc |of btn "|
|00001990| 53 47 43 20 49 6e 76 65 | 72 74 65 64 22 20 74 6f |SGC Inve|rted" to|
|000019a0| 20 2d 31 30 30 2c 2d 31 | 30 30 0a 20 20 65 6c 73 | -100,-1|00. els|
|000019b0| 65 20 73 65 74 20 74 68 | 65 20 72 65 63 74 20 6f |e set th|e rect o|
|000019c0| 66 20 62 74 6e 20 22 53 | 47 43 20 49 6e 76 65 72 |f btn "S|GC Inver|
|000019d0| 74 65 64 22 20 74 6f 20 | 74 68 65 20 72 65 63 74 |ted" to |the rect|
|000019e0| 20 6f 66 20 62 74 6e 20 | 22 53 65 6c 65 63 74 20 | of btn |"Select |
|000019f0| 47 72 6f 75 70 65 64 20 | 43 6f 6e 74 72 6f 6c 73 |Grouped |Controls|
|00001a00| 22 0a 0a 20 20 70 75 74 | 20 74 68 65 20 66 69 6c |".. put| the fil|
|00001a10| 65 4e 61 6d 65 20 6f 66 | 20 73 74 61 63 6b 20 22 |eName of| stack "|
|00001a20| 72 65 76 4d 65 6e 75 42 | 61 72 22 20 69 6e 74 6f |revMenuB|ar" into|
|00001a30| 20 74 46 69 6c 65 50 61 | 74 68 0a 20 20 73 65 74 | tFilePa|th. set|
|00001a40| 20 74 68 65 20 69 74 65 | 6d 44 65 6c 20 74 6f 20 | the ite|mDel to |
|00001a50| 22 2f 22 0a 20 20 70 75 | 74 20 22 70 6c 75 67 69 |"/". pu|t "plugi|
|00001a60| 6e 73 22 20 69 6e 74 6f | 20 69 74 65 6d 20 2d 33 |ns" into| item -3|
|00001a70| 20 74 6f 20 2d 31 20 6f | 66 20 74 46 69 6c 65 70 | to -1 o|f tFilep|
|00001a80| 61 74 68 0a 20 20 70 75 | 74 20 74 68 65 20 64 69 |ath. pu|t the di|
|00001a90| 72 65 63 74 6f 72 79 20 | 69 6e 74 6f 20 74 52 65 |rectory |into tRe|
|00001aa0| 74 75 72 6e 0a 20 20 73 | 65 74 20 74 68 65 20 64 |turn. s|et the d|
|00001ab0| 69 72 65 63 74 6f 72 79 | 20 74 6f 20 74 46 69 6c |irectory| to tFil|
|00001ac0| 65 70 61 74 68 0a 20 20 | 69 66 20 22 70 6c 75 67 |epath. |if "plug|
|00001ad0| 69 6e 73 22 20 69 73 20 | 69 6e 20 74 68 65 20 64 |ins" is |in the d|
|00001ae0| 69 72 65 63 74 6f 72 79 | 20 74 68 65 6e 0a 20 20 |irectory| then. |
|00001af0| 20 20 70 75 74 20 74 68 | 65 20 66 69 6c 65 73 20 | put th|e files |
|00001b00| 69 6e 74 6f 20 74 4c 69 | 73 74 0a 20 20 20 20 72 |into tLi|st. r|
|00001b10| 65 70 65 61 74 20 66 6f | 72 20 65 61 63 68 20 6c |epeat fo|r each l|
|00001b20| 69 6e 65 20 6c 20 69 6e | 20 74 4c 69 73 74 0a 20 |ine l in| tList. |
|00001b30| 20 20 20 20 20 70 75 74 | 20 74 68 65 20 64 69 72 | put| the dir|
|00001b40| 65 63 74 6f 72 79 20 26 | 20 22 2f 22 20 26 20 6c |ectory &| "/" & l|
|00001b50| 20 26 20 63 72 20 61 66 | 74 65 72 20 74 46 69 6e | & cr af|ter tFin|
|00001b60| 61 6c 0a 20 20 20 20 65 | 6e 64 20 72 65 70 65 61 |al. e|nd repea|
|00001b70| 74 0a 20 20 20 20 64 65 | 6c 65 74 65 20 6c 61 73 |t. de|lete las|
|00001b80| 74 20 63 68 61 72 20 6f | 66 20 74 46 69 6e 61 6c |t char o|f tFinal|
|00001b90| 0a 20 20 65 6e 64 20 69 | 66 0a 20 20 73 65 74 20 |. end i|f. set |
|00001ba0| 74 68 65 20 64 69 72 65 | 63 74 6f 72 79 20 74 6f |the dire|ctory to|
|00001bb0| 20 74 52 65 74 75 72 6e | 0a 20 20 70 75 74 20 65 | tReturn|. put e|
|00001bc0| 6d 70 74 79 20 69 6e 74 | 6f 20 67 52 45 56 53 74 |mpty int|o gREVSt|
|00001bd0| 61 72 74 75 70 4c 69 73 | 74 0a 20 20 70 75 74 20 |artupLis|t. put |
|00001be0| 65 6d 70 74 79 20 69 6e | 74 6f 20 67 52 45 56 53 |empty in|to gREVS|
|00001bf0| 68 75 74 64 6f 77 6e 4c | 69 73 74 0a 20 20 6c 6f |hutdownL|ist. lo|
|00001c00| 63 6b 20 6d 65 73 73 61 | 67 65 73 0a 20 20 72 65 |ck messa|ges. re|
|00001c10| 70 65 61 74 20 66 6f 72 | 20 65 61 63 68 20 6c 69 |peat for| each li|
|00001c20| 6e 65 20 6c 20 69 6e 20 | 74 46 69 6e 61 6c 0a 20 |ne l in |tFinal. |
|00001c30| 20 20 20 69 66 20 74 68 | 65 72 65 20 69 73 20 61 | if th|ere is a|
|00001c40| 20 73 74 61 63 6b 20 6c | 20 74 68 65 6e 0a 20 20 | stack l| then. |
|00001c50| 20 20 20 20 2d 2d 20 20 | 20 20 20 20 61 6e 64 20 | -- | and |
|00001c60| 63 68 61 72 20 31 20 74 | 6f 20 33 20 6f 66 20 74 |char 1 t|o 3 of t|
|00001c70| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00001c80| 20 73 74 61 63 6b 20 6c | 20 69 73 20 22 72 65 76 | stack l| is "rev|
|00001c90| 22 20 74 68 65 6e 0a 20 | 20 20 20 20 20 70 75 74 |" then. | put|
|00001ca0| 20 6c 20 26 20 63 72 20 | 61 66 74 65 72 20 74 53 | l & cr |after tS|
|00001cb0| 74 61 63 6b 73 0a 20 20 | 20 20 20 20 69 66 20 74 |tacks. | if t|
|00001cc0| 68 65 20 63 52 45 56 4c | 6f 61 64 49 6e 66 6f 5b |he cREVL|oadInfo[|
|00001cd0| 22 6c 6f 61 64 22 5d 20 | 6f 66 20 73 74 61 63 6b |"load"] |of stack|
|00001ce0| 20 6c 20 69 73 20 22 63 | 68 6f 73 65 6e 22 20 6f | l is "c|hosen" o|
|00001cf0| 72 20 74 68 65 20 63 52 | 45 56 4c 6f 61 64 49 6e |r the cR|EVLoadIn|
|00001d00| 66 6f 5b 22 6c 6f 61 64 | 22 5d 20 6f 66 20 73 74 |fo["load|"] of st|
|00001d10| 61 63 6b 20 6c 20 69 73 | 20 65 6d 70 74 79 20 74 |ack l is| empty t|
|00001d20| 68 65 6e 0a 20 20 20 20 | 20 20 20 20 70 75 74 20 |hen. | put |
|00001d30| 74 61 62 20 26 20 6c 61 | 73 74 20 69 74 65 6d 20 |tab & la|st item |
|00001d40| 6f 66 20 6c 20 26 20 63 | 72 20 61 66 74 65 72 20 |of l & c|r after |
|00001d50| 74 4e 61 6d 65 73 0a 20 | 20 20 20 20 20 20 20 70 |tNames. | p|
|00001d60| 75 74 20 6c 20 26 20 63 | 72 20 61 66 74 65 72 20 |ut l & c|r after |
|00001d70| 74 4d 65 6e 75 4c 69 73 | 74 0a 20 20 20 20 20 20 |tMenuLis|t. |
|00001d80| 20 20 64 65 6c 65 74 65 | 20 73 74 61 63 6b 20 6c | delete| stack l|
|00001d90| 0a 20 20 20 20 20 20 65 | 6c 73 65 20 69 66 20 74 |. e|lse if t|
|00001da0| 68 65 20 63 52 45 56 4c | 6f 61 64 49 6e 66 6f 5b |he cREVL|oadInfo[|
|00001db0| 22 6c 6f 61 64 22 5d 20 | 6f 66 20 73 74 61 63 6b |"load"] |of stack|
|00001dc0| 20 6c 20 69 73 20 22 73 | 74 61 72 74 75 70 22 20 | l is "s|tartup" |
|00001dd0| 74 68 65 6e 0a 20 20 20 | 20 20 20 20 20 70 75 74 |then. | put|
|00001de0| 20 6c 20 69 6e 74 6f 20 | 6c 69 6e 65 20 28 74 68 | l into |line (th|
|00001df0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00001e00| 73 20 69 6e 20 67 52 45 | 56 53 74 61 72 74 75 70 |s in gRE|VStartup|
|00001e10| 4c 69 73 74 2b 31 29 20 | 6f 66 20 67 52 45 56 53 |List+1) |of gREVS|
|00001e20| 74 61 72 74 75 70 4c 69 | 73 74 0a 20 20 20 20 20 |tartupLi|st. |
|00001e30| 20 65 6c 73 65 20 69 66 | 20 74 68 65 20 63 52 45 | else if| the cRE|
|00001e40| 56 4c 6f 61 64 49 6e 66 | 6f 5b 22 6c 6f 61 64 22 |VLoadInf|o["load"|
|00001e50| 5d 20 6f 66 20 73 74 61 | 63 6b 20 6c 20 69 73 20 |] of sta|ck l is |
|00001e60| 22 73 68 75 74 64 6f 77 | 6e 22 20 74 68 65 6e 0a |"shutdow|n" then.|
|00001e70| 20 20 20 20 20 20 20 20 | 70 75 74 20 6c 20 69 6e | |put l in|
|00001e80| 74 6f 20 6c 69 6e 65 20 | 28 74 68 65 20 6e 75 6d |to line |(the num|
|00001e90| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|00001ea0| 67 52 45 56 53 68 75 74 | 64 6f 77 6e 4c 69 73 74 |gREVShut|downList|
|00001eb0| 2b 31 29 20 6f 66 20 67 | 52 45 56 53 68 75 74 44 |+1) of g|REVShutD|
|00001ec0| 6f 77 6e 4c 69 73 74 0a | 20 20 20 20 20 20 65 6e |ownList.| en|
|00001ed0| 64 20 69 66 0a 20 20 20 | 20 65 6e 64 20 69 66 0a |d if. | end if.|
|00001ee0| 20 20 65 6e 64 20 72 65 | 70 65 61 74 0a 20 20 75 | end re|peat. u|
|00001ef0| 6e 6c 6f 63 6b 20 6d 65 | 73 73 61 67 65 73 0a 20 |nlock me|ssages. |
|00001f00| 20 64 65 6c 65 74 65 20 | 6c 61 73 74 20 63 68 61 | delete |last cha|
|00001f10| 72 20 6f 66 20 74 4e 61 | 6d 65 73 0a 20 20 64 65 |r of tNa|mes. de|
|00001f20| 6c 65 74 65 20 6c 61 73 | 74 20 63 68 61 72 20 6f |lete las|t char o|
|00001f30| 66 20 74 53 74 61 63 6b | 73 0a 20 20 73 65 74 20 |f tStack|s. set |
|00001f40| 74 68 65 20 63 53 74 61 | 63 6b 73 4c 69 73 74 20 |the cSta|cksList |
|00001f50| 6f 66 20 62 74 6e 20 22 | 6c 69 73 74 22 20 6f 66 |of btn "|list" of|
|00001f60| 20 73 74 61 63 6b 20 22 | 72 65 76 50 6c 75 67 49 | stack "|revPlugI|
|00001f70| 6e 45 64 69 74 6f 72 22 | 20 74 6f 20 74 53 74 61 |nEditor"| to tSta|
|00001f80| 63 6b 73 0a 20 20 73 65 | 74 20 74 68 65 20 63 4d |cks. se|t the cM|
|00001f90| 65 6e 75 4c 69 73 74 20 | 6f 66 20 62 74 6e 20 22 |enuList |of btn "|
|00001fa0| 6c 69 73 74 22 20 6f 66 | 20 73 74 61 63 6b 20 22 |list" of| stack "|
|00001fb0| 72 65 76 50 6c 75 67 49 | 6e 45 64 69 74 6f 72 22 |revPlugI|nEditor"|
|00001fc0| 20 74 6f 20 74 53 74 61 | 63 6b 73 0a 20 20 69 66 | to tSta|cks. if|
|00001fd0| 20 74 4e 61 6d 65 73 20 | 69 73 20 65 6d 70 74 79 | tNames |is empty|
|00001fe0| 20 74 68 65 6e 20 70 75 | 74 20 74 61 62 20 26 20 | then pu|t tab & |
|00001ff0| 22 28 4e 6f 6e 65 20 66 | 6f 75 6e 64 22 20 69 6e |"(None f|ound" in|
|00002000| 74 6f 20 74 4e 61 6d 65 | 73 0a 20 20 70 75 74 20 |to tName|s. put |
|00002010| 74 68 65 20 74 65 78 74 | 20 6f 66 20 62 74 6e 20 |the text| of btn |
|00002020| 22 64 65 76 65 6c 6f 70 | 6d 65 6e 74 22 20 69 6e |"develop|ment" in|
|00002030| 74 6f 20 74 44 65 76 65 | 6c 6f 70 6d 65 6e 74 0a |to tDeve|lopment.|
|00002040| 20 20 70 75 74 20 6c 69 | 6e 65 4f 66 66 73 65 74 | put li|neOffset|
|00002050| 28 22 2d 22 2c 74 44 65 | 76 65 6c 6f 70 6d 65 6e |("-",tDe|velopmen|
|00002060| 74 29 20 69 6e 74 6f 20 | 74 45 6e 64 0a 20 20 70 |t) into |tEnd. p|
|00002070| 75 74 20 74 4e 61 6d 65 | 73 20 69 6e 74 6f 20 6c |ut tName|s into l|
|00002080| 69 6e 65 20 34 20 74 6f | 20 74 45 6e 64 2d 31 20 |ine 4 to| tEnd-1 |
|00002090| 6f 66 20 74 44 65 76 65 | 6c 6f 70 6d 65 6e 74 0a |of tDeve|lopment.|
|000020a0| 20 20 73 65 74 20 74 68 | 65 20 74 65 78 74 20 6f | set th|e text o|
|000020b0| 66 20 62 74 6e 20 22 64 | 65 76 65 6c 6f 70 6d 65 |f btn "d|evelopme|
|000020c0| 6e 74 22 20 74 6f 20 74 | 44 65 76 65 6c 6f 70 6d |nt" to t|Developm|
|000020d0| 65 6e 74 0a 0a 20 20 2d | 2d 64 65 67 72 65 65 73 |ent.. -|-degrees|
|000020e0| 20 63 68 61 72 61 63 74 | 65 72 20 69 6e 20 72 6f | charact|er in ro|
|000020f0| 74 61 74 65 20 73 75 62 | 6d 65 6e 75 0a 20 20 70 |tate sub|menu. p|
|00002100| 75 74 20 74 68 65 20 74 | 65 78 74 20 6f 66 20 62 |ut the t|ext of b|
|00002110| 74 6e 20 22 4f 62 6a 65 | 63 74 22 20 69 6e 74 6f |tn "Obje|ct" into|
|00002120| 20 74 4f 62 6a 65 63 74 | 0a 20 20 69 66 20 74 68 | tObject|. if th|
|00002130| 65 20 70 6c 61 74 66 6f | 72 6d 20 69 73 20 22 4d |e platfo|rm is "M|
|00002140| 61 63 4f 53 22 0a 20 20 | 74 68 65 6e 20 70 75 74 |acOS". |then put|
|00002150| 20 4e 75 6d 54 6f 43 68 | 61 72 28 31 38 38 29 20 | NumToCh|ar(188) |
|00002160| 69 6e 74 6f 20 74 44 65 | 67 72 65 65 53 79 6d 62 |into tDe|greeSymb|
|00002170| 6f 6c 0a 20 20 65 6c 73 | 65 20 70 75 74 20 4e 75 |ol. els|e put Nu|
|00002180| 6d 54 6f 43 68 61 72 28 | 31 37 36 29 20 69 6e 74 |mToChar(|176) int|
|00002190| 6f 20 74 44 65 67 72 65 | 65 53 79 6d 62 6f 6c 0a |o tDegre|eSymbol.|
|000021a0| 20 20 70 75 74 20 74 61 | 62 26 22 39 30 22 26 74 | put ta|b&"90"&t|
|000021b0| 44 65 67 72 65 65 53 79 | 6d 62 6f 6c 26 26 22 52 |DegreeSy|mbol&&"R|
|000021c0| 69 67 68 74 22 26 63 72 | 20 26 74 61 62 26 22 39 |ight"&cr| &tab&"9|
|000021d0| 30 22 26 74 44 65 67 72 | 65 65 53 79 6d 62 6f 6c |0"&tDegr|eeSymbol|
|000021e0| 26 26 22 4c 65 66 74 22 | 26 63 72 20 26 74 61 62 |&&"Left"|&cr &tab|
|000021f0| 26 22 31 38 30 22 26 74 | 44 65 67 72 65 65 53 79 |&"180"&t|DegreeSy|
|00002200| 6d 62 6f 6c 20 69 6e 74 | 6f 20 6c 69 6e 65 20 2d |mbol int|o line -|
|00002210| 31 38 20 74 6f 20 2d 31 | 36 20 6f 66 20 74 4f 62 |18 to -1|6 of tOb|
|00002220| 6a 65 63 74 0a 20 20 73 | 65 74 20 74 68 65 20 74 |ject. s|et the t|
|00002230| 65 78 74 20 6f 66 20 62 | 74 6e 20 22 4f 62 6a 65 |ext of b|tn "Obje|
|00002240| 63 74 22 20 74 6f 20 74 | 4f 62 6a 65 63 74 0a 0a |ct" to t|Object..|
|00002250| 20 20 72 65 76 53 65 74 | 75 70 54 65 78 74 0a 20 | revSet|upText. |
|00002260| 20 72 65 76 55 70 64 61 | 74 65 50 61 6c 65 74 74 | revUpda|tePalett|
|00002270| 65 0a 65 6e 64 20 70 72 | 65 4f 70 65 6e 53 74 61 |e.end pr|eOpenSta|
|00002280| 63 6b 0a 0a 6c 6f 63 61 | 6c 20 6c 55 70 64 61 74 |ck..loca|l lUpdat|
|00002290| 65 48 69 73 74 6f 72 79 | 0a 0a 6f 6e 20 72 65 76 |eHistory|..on rev|
|000022a0| 43 68 65 63 6b 47 72 6f | 75 70 0a 20 20 70 75 74 |CheckGro|up. put|
|000022b0| 20 74 68 65 20 73 68 6f | 77 49 63 6f 6e 20 6f 66 | the sho|wIcon of|
|000022c0| 20 62 74 6e 20 22 6e 65 | 77 22 20 69 6e 74 6f 20 | btn "ne|w" into |
|000022d0| 74 53 68 6f 77 49 63 6f | 6e 0a 20 20 69 66 20 28 |tShowIco|n. if (|
|000022e0| 28 74 68 65 20 73 65 6c | 4f 62 6a 29 20 69 73 20 |(the sel|Obj) is |
|000022f0| 6e 6f 74 20 65 6d 70 74 | 79 20 61 6e 64 20 77 6f |not empt|y and wo|
|00002300| 72 64 20 31 20 6f 66 20 | 28 74 68 65 20 73 65 6c |rd 1 of |(the sel|
|00002310| 4f 62 6a 29 20 69 73 20 | 22 67 72 6f 75 70 22 29 |Obj) is |"group")|
|00002320| 20 6f 72 20 74 68 65 20 | 65 64 69 74 42 67 20 6f | or the |editBg o|
|00002330| 66 20 74 68 65 20 74 6f | 70 53 74 61 63 6b 20 74 |f the to|pStack t|
|00002340| 68 65 6e 0a 20 20 20 20 | 69 66 20 74 68 65 20 65 |hen. |if the e|
|00002350| 64 69 74 42 67 20 6f 66 | 20 74 68 65 20 74 6f 70 |ditBg of| the top|
|00002360| 53 74 61 63 6b 20 74 68 | 65 6e 0a 20 20 20 20 20 |Stack th|en. |
|00002370| 20 2d 2d 73 65 74 20 74 | 68 65 20 69 63 6f 6e 20 | --set t|he icon |
|00002380| 6f 66 20 62 74 6e 20 22 | 65 64 69 74 20 67 72 6f |of btn "|edit gro|
|00002390| 75 70 22 20 74 6f 20 32 | 30 31 32 32 30 0a 20 20 |up" to 2|01220. |
|000023a0| 20 20 20 20 73 65 74 20 | 74 68 65 20 72 65 63 74 | set |the rect|
|000023b0| 20 6f 66 20 62 74 6e 20 | 22 45 64 69 74 20 47 72 | of btn |"Edit Gr|
|000023c0| 6f 75 70 20 49 6e 76 65 | 72 74 65 64 22 20 74 6f |oup Inve|rted" to|
|000023d0| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 62 74 6e | the rec|t of btn|
|000023e0| 20 22 45 64 69 74 20 47 | 72 6f 75 70 22 0a 20 20 | "Edit G|roup". |
|000023f0| 20 20 65 6c 73 65 0a 20 | 20 20 20 20 20 69 66 20 | else. | if |
|00002400| 74 53 68 6f 77 49 63 6f | 6e 20 74 68 65 6e 20 73 |tShowIco|n then s|
|00002410| 65 74 20 74 68 65 20 69 | 63 6f 6e 20 6f 66 20 62 |et the i|con of b|
|00002420| 74 6e 20 22 65 64 69 74 | 20 67 72 6f 75 70 22 20 |tn "edit| group" |
|00002430| 74 6f 20 32 30 30 38 35 | 39 0a 20 20 20 20 20 20 |to 20085|9. |
|00002440| 73 65 74 20 74 68 65 20 | 6c 6f 63 20 6f 66 20 62 |set the |loc of b|
|00002450| 74 6e 20 22 45 64 69 74 | 20 47 72 6f 75 70 20 49 |tn "Edit| Group I|
|00002460| 6e 76 65 72 74 65 64 22 | 20 74 6f 20 2d 31 30 30 |nverted"| to -100|
|00002470| 2c 2d 31 30 30 0a 20 20 | 20 20 65 6e 64 20 69 66 |,-100. | end if|
|00002480| 0a 20 20 20 20 65 6e 61 | 62 6c 65 20 62 74 6e 20 |. ena|ble btn |
|00002490| 22 65 64 69 74 20 67 72 | 6f 75 70 22 0a 20 20 65 |"edit gr|oup". e|
|000024a0| 6c 73 65 0a 20 20 20 20 | 64 69 73 61 62 6c 65 20 |lse. |disable |
|000024b0| 62 74 6e 20 22 65 64 69 | 74 20 67 72 6f 75 70 22 |btn "edi|t group"|
|000024c0| 0a 20 20 20 20 69 66 20 | 74 53 68 6f 77 49 63 6f |. if |tShowIco|
|000024d0| 6e 20 74 68 65 6e 20 73 | 65 74 20 74 68 65 20 69 |n then s|et the i|
|000024e0| 63 6f 6e 20 6f 66 20 62 | 74 6e 20 22 65 64 69 74 |con of b|tn "edit|
|000024f0| 20 67 72 6f 75 70 22 20 | 74 6f 20 32 30 31 32 31 | group" |to 20121|
|00002500| 30 0a 20 20 20 20 73 65 | 74 20 74 68 65 20 6c 6f |0. se|t the lo|
|00002510| 63 20 6f 66 20 62 74 6e | 20 22 45 64 69 74 20 47 |c of btn| "Edit G|
|00002520| 72 6f 75 70 20 49 6e 76 | 65 72 74 65 64 22 20 74 |roup Inv|erted" t|
|00002530| 6f 20 2d 31 30 30 2c 2d | 31 30 30 0a 20 20 65 6e |o -100,-|100. en|
|00002540| 64 20 69 66 0a 65 6e 64 | 20 72 65 76 43 68 65 63 |d if.end| revChec|
|00002550| 6b 47 72 6f 75 70 0a 0a | 6f 6e 20 72 65 76 55 70 |kGroup..|on revUp|
|00002560| 64 61 74 65 50 61 6c 65 | 74 74 65 0a 20 20 70 75 |datePale|tte. pu|
|00002570| 74 20 74 68 65 20 73 68 | 6f 77 49 63 6f 6e 20 6f |t the sh|owIcon o|
|00002580| 66 20 62 74 6e 20 22 6e | 65 77 22 20 69 6e 74 6f |f btn "n|ew" into|
|00002590| 20 74 53 68 6f 77 49 63 | 6f 6e 0a 20 20 70 75 74 | tShowIc|on. put|
|000025a0| 20 28 28 74 68 65 20 73 | 65 6c 65 63 74 65 64 46 | ((the s|electedF|
|000025b0| 69 65 6c 64 29 20 69 73 | 20 65 6d 70 74 79 29 20 |ield) is| empty) |
|000025c0| 26 20 63 6f 6d 6d 61 20 | 26 20 28 28 74 68 65 20 |& comma |& ((the |
|000025d0| 73 65 6c 4f 62 6a 29 20 | 69 73 20 65 6d 70 74 79 |selObj) |is empty|
|000025e0| 29 20 69 6e 74 6f 20 74 | 53 74 61 74 65 0a 20 20 |) into t|State. |
|000025f0| 69 66 20 74 68 65 20 6d | 6f 64 65 20 6f 66 20 74 |if the m|ode of t|
|00002600| 68 65 20 74 6f 70 53 74 | 61 63 6b 20 69 73 20 6e |he topSt|ack is n|
|00002610| 6f 74 20 31 20 6f 72 20 | 74 68 65 20 73 68 6f 72 |ot 1 or |the shor|
|00002620| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 74 6f |t name o|f the to|
|00002630| 70 53 74 61 63 6b 20 69 | 73 20 22 68 6f 6d 65 22 |pStack i|s "home"|
|00002640| 20 74 68 65 6e 0a 20 20 | 20 20 69 66 20 74 53 68 | then. | if tSh|
|00002650| 6f 77 49 63 6f 6e 20 74 | 68 65 6e 20 73 65 74 20 |owIcon t|hen set |
|00002660| 74 68 65 20 69 63 6f 6e | 20 6f 66 20 62 74 6e 20 |the icon| of btn |
|00002670| 22 6e 65 77 22 20 74 6f | 20 32 30 31 32 31 32 0a |"new" to| 201212.|
|00002680| 20 20 20 20 73 65 74 20 | 74 68 65 20 74 6f 6f 6c | set |the tool|
|00002690| 54 69 70 20 6f 66 20 62 | 74 6e 20 22 6e 65 77 22 |Tip of b|tn "new"|
|000026a0| 20 74 6f 20 22 4e 65 77 | 20 4d 61 69 6e 73 74 61 | to "New| Mainsta|
|000026b0| 63 6b 22 0a 20 20 20 20 | 73 65 74 20 74 68 65 20 |ck". |set the |
|000026c0| 63 52 45 56 4e 65 77 4f | 62 6a 65 63 74 20 6f 66 |cREVNewO|bject of|
|000026d0| 20 74 68 69 73 20 73 74 | 61 63 6b 20 74 6f 20 22 | this st|ack to "|
|000026e0| 53 74 61 63 6b 22 0a 20 | 20 20 20 64 69 73 61 62 |Stack". | disab|
|000026f0| 6c 65 20 62 74 6e 20 22 | 73 61 76 65 22 0a 20 20 |le btn "|save". |
|00002700| 20 20 69 66 20 74 53 68 | 6f 77 49 63 6f 6e 20 74 | if tSh|owIcon t|
|00002710| 68 65 6e 0a 20 20 20 20 | 20 20 73 65 74 20 74 68 |hen. | set th|
|00002720| 65 20 69 63 6f 6e 20 6f | 66 20 62 74 6e 20 22 73 |e icon o|f btn "s|
|00002730| 61 76 65 22 20 74 6f 20 | 32 30 32 34 34 32 0a 20 |ave" to |202442. |
|00002740| 20 20 20 65 6e 64 20 69 | 66 0a 20 20 65 6c 73 65 | end i|f. else|
|00002750| 0a 20 20 20 20 69 66 20 | 74 53 68 6f 77 49 63 6f |. if |tShowIco|
|00002760| 6e 20 74 68 65 6e 20 73 | 65 74 20 74 68 65 20 69 |n then s|et the i|
|00002770| 63 6f 6e 20 6f 66 20 62 | 74 6e 20 22 6e 65 77 22 |con of b|tn "new"|
|00002780| 20 74 6f 20 32 30 30 38 | 36 35 0a 20 20 20 20 73 | to 2008|65. s|
|00002790| 65 74 20 74 68 65 20 74 | 6f 6f 6c 54 69 70 20 6f |et the t|oolTip o|
|000027a0| 66 20 62 74 6e 20 22 6e | 65 77 22 20 74 6f 20 22 |f btn "n|ew" to "|
|000027b0| 4e 65 77 20 43 61 72 64 | 22 0a 20 20 20 20 73 65 |New Card|". se|
|000027c0| 74 20 74 68 65 20 63 52 | 45 56 4e 65 77 4f 62 6a |t the cR|EVNewObj|
|000027d0| 65 63 74 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ect of t|his stac|
|000027e0| 6b 20 74 6f 20 22 43 61 | 72 64 22 20 20 2d 2d 20 |k to "Ca|rd" -- |
|000027f0| 6e 6f 74 20 72 65 61 6c | 6c 79 20 6e 65 65 64 65 |not real|ly neede|
|00002800| 64 20 61 73 20 74 68 65 | 20 65 6c 73 65 20 6f 70 |d as the| else op|
|00002810| 74 69 6f 6e 20 64 65 66 | 61 75 6c 74 73 20 74 6f |tion def|aults to|
|00002820| 20 63 61 72 64 20 6f 6e | 20 6d 6f 75 73 65 75 70 | card on| mouseup|
|00002830| 20 69 66 20 6e 6f 74 20 | 61 20 73 74 61 63 6b 0a | if not |a stack.|
|00002840| 20 20 20 20 69 66 20 74 | 53 68 6f 77 49 63 6f 6e | if t|ShowIcon|
|00002850| 20 74 68 65 6e 20 73 65 | 74 20 74 68 65 20 69 63 | then se|t the ic|
|00002860| 6f 6e 20 6f 66 20 62 74 | 6e 20 22 73 61 76 65 22 |on of bt|n "save"|
|00002870| 20 74 6f 20 32 30 30 38 | 37 30 0a 20 20 20 20 65 | to 2008|70. e|
|00002880| 6e 61 62 6c 65 20 62 74 | 6e 20 22 73 61 76 65 22 |nable bt|n "save"|
|00002890| 0a 20 20 65 6e 64 20 69 | 66 0a 20 20 69 66 20 74 |. end i|f. if t|
|000028a0| 68 65 20 65 64 69 74 42 | 67 20 6f 66 20 74 68 65 |he editB|g of the|
|000028b0| 20 74 6f 70 53 74 61 63 | 6b 20 61 6e 64 20 77 6f | topStac|k and wo|
|000028c0| 72 64 20 31 20 6f 66 20 | 28 74 68 65 20 73 65 6c |rd 1 of |(the sel|
|000028d0| 4f 62 6a 29 20 69 73 20 | 6e 6f 74 20 22 67 72 6f |Obj) is |not "gro|
|000028e0| 75 70 22 20 74 68 65 6e | 0a 20 20 20 20 73 65 74 |up" then|. set|
|000028f0| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 62 74 6e | the rec|t of btn|
|00002900| 20 22 45 64 69 74 20 47 | 72 6f 75 70 20 49 6e 76 | "Edit G|roup Inv|
|00002910| 65 72 74 65 64 22 20 74 | 6f 20 74 68 65 20 72 65 |erted" t|o the re|
|00002920| 63 74 20 6f 66 20 62 74 | 6e 20 22 45 64 69 74 20 |ct of bt|n "Edit |
|00002930| 47 72 6f 75 70 22 0a 20 | 20 20 20 65 6e 61 62 6c |Group". | enabl|
|00002940| 65 20 62 74 6e 20 22 65 | 64 69 74 20 67 72 6f 75 |e btn "e|dit grou|
|00002950| 70 22 0a 20 20 65 6c 73 | 65 0a 20 20 20 20 69 66 |p". els|e. if|
|00002960| 20 74 53 68 6f 77 49 63 | 6f 6e 20 74 68 65 6e 20 | tShowIc|on then |
|00002970| 73 65 74 20 74 68 65 20 | 69 63 6f 6e 20 6f 66 20 |set the |icon of |
|00002980| 62 74 6e 20 22 65 64 69 | 74 20 67 72 6f 75 70 22 |btn "edi|t group"|
|00002990| 20 74 6f 20 32 30 30 38 | 35 39 0a 20 20 20 20 73 | to 2008|59. s|
|000029a0| 65 74 20 74 68 65 20 6c | 6f 63 20 6f 66 20 62 74 |et the l|oc of bt|
|000029b0| 6e 20 22 45 64 69 74 20 | 47 72 6f 75 70 20 49 6e |n "Edit |Group In|
|000029c0| 76 65 72 74 65 64 22 20 | 74 6f 20 2d 31 30 30 2c |verted" |to -100,|
|000029d0| 2d 31 30 30 0a 20 20 20 | 20 65 6e 61 62 6c 65 20 |-100. | enable |
|000029e0| 62 74 6e 20 22 65 64 69 | 74 20 67 72 6f 75 70 22 |btn "edi|t group"|
|000029f0| 0a 20 20 65 6e 64 20 69 | 66 0a 20 20 69 66 20 28 |. end i|f. if (|
|00002a00| 74 68 65 20 73 65 6c 4f | 62 6a 29 20 69 73 20 6e |the selO|bj) is n|
|00002a10| 6f 74 20 65 6d 70 74 79 | 20 61 6e 64 20 77 6f 72 |ot empty| and wor|
|00002a20| 64 20 31 20 6f 66 20 28 | 74 68 65 20 73 65 6c 4f |d 1 of (|the selO|
|00002a30| 62 6a 29 20 69 73 20 22 | 67 72 6f 75 70 22 20 61 |bj) is "|group" a|
|00002a40| 6e 64 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |nd the n|umber of|
|00002a50| 20 6c 69 6e 65 73 20 69 | 6e 20 28 74 68 65 20 73 | lines i|n (the s|
|00002a60| 65 6c 4f 62 6a 29 20 69 | 73 20 31 20 74 68 65 6e |elObj) i|s 1 then|
|00002a70| 0a 20 20 20 20 2d 2d 73 | 65 74 20 74 68 65 20 69 |. --s|et the i|
|00002a80| 63 6f 6e 20 6f 66 20 62 | 74 6e 20 22 67 72 6f 75 |con of b|tn "grou|
|00002a90| 70 20 63 6f 6e 74 72 6f | 6c 73 22 20 74 6f 20 32 |p contro|ls" to 2|
|00002aa0| 30 31 32 32 35 0a 20 20 | 20 20 73 65 74 20 74 68 |01225. | set th|
|00002ab0| 65 20 72 65 63 74 20 6f | 66 20 62 74 6e 20 22 47 |e rect o|f btn "G|
|00002ac0| 72 6f 75 70 20 49 6e 76 | 65 72 74 65 64 22 20 74 |roup Inv|erted" t|
|00002ad0| 6f 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 62 74 |o the re|ct of bt|
|00002ae0| 6e 20 22 47 72 6f 75 70 | 20 43 6f 6e 74 72 6f 6c |n "Group| Control|
|00002af0| 73 22 0a 20 20 65 6c 73 | 65 0a 20 20 20 20 2d 2d |s". els|e. --|
|00002b00| 73 65 74 20 74 68 65 20 | 69 63 6f 6e 20 6f 66 20 |set the |icon of |
|00002b10| 62 74 6e 20 22 67 72 6f | 75 70 20 63 6f 6e 74 72 |btn "gro|up contr|
|00002b20| 6f 6c 73 22 20 74 6f 20 | 32 30 30 38 36 31 0a 20 |ols" to |200861. |
|00002b30| 20 20 20 73 65 74 20 74 | 68 65 20 6c 6f 63 20 6f | set t|he loc o|
|00002b40| 66 20 62 74 6e 20 22 47 | 72 6f 75 70 20 49 6e 76 |f btn "G|roup Inv|
|00002b50| 65 72 74 65 64 22 20 74 | 6f 20 2d 31 30 30 2c 2d |erted" t|o -100,-|
|00002b60| 31 30 30 0a 20 20 20 20 | 69 66 20 6e 6f 74 20 74 |100. |if not t|
|00002b70| 68 65 20 65 64 69 74 42 | 67 20 6f 66 20 74 68 65 |he editB|g of the|
|00002b80| 20 74 6f 70 53 74 61 63 | 6b 20 74 68 65 6e 20 64 | topStac|k then d|
|00002b90| 69 73 61 62 6c 65 20 62 | 74 6e 20 22 65 64 69 74 |isable b|tn "edit|
|00002ba0| 20 67 72 6f 75 70 22 0a | 20 20 20 20 69 66 20 74 | group".| if t|
|00002bb0| 53 68 6f 77 49 63 6f 6e | 20 74 68 65 6e 20 73 65 |ShowIcon| then se|
|00002bc0| 74 20 74 68 65 20 69 63 | 6f 6e 20 6f 66 20 62 74 |t the ic|on of bt|
|00002bd0| 6e 20 22 65 64 69 74 20 | 67 72 6f 75 70 22 20 74 |n "edit |group" t|
|00002be0| 6f 20 32 30 31 32 31 30 | 0a 20 20 20 20 2d 2d 65 |o 201210|. --e|
|00002bf0| 6e 64 20 69 66 0a 20 20 | 20 20 69 66 20 22 72 65 |nd if. | if "re|
|00002c00| 76 43 68 65 63 6b 47 72 | 6f 75 70 22 20 69 73 20 |vCheckGr|oup" is |
|00002c10| 6e 6f 74 20 69 6e 20 74 | 68 65 20 70 65 6e 64 69 |not in t|he pendi|
|00002c20| 6e 67 4d 65 73 73 61 67 | 65 73 20 74 68 65 6e 20 |ngMessag|es then |
|00002c30| 73 65 6e 64 20 22 72 65 | 76 43 68 65 63 6b 47 72 |send "re|vCheckGr|
|00002c40| 6f 75 70 22 20 74 6f 20 | 6d 65 20 69 6e 20 35 30 |oup" to |me in 50|
|00002c50| 30 20 6d 69 6c 6c 69 73 | 65 63 6f 6e 64 73 0a 20 |0 millis|econds. |
|00002c60| 20 65 6e 64 20 69 66 0a | 20 20 69 66 20 74 53 74 | end if.| if tSt|
|00002c70| 61 74 65 20 69 73 20 6c | 55 70 64 61 74 65 48 69 |ate is l|UpdateHi|
|00002c80| 73 74 6f 72 79 20 74 68 | 65 6e 20 70 61 73 73 20 |story th|en pass |
|00002c90| 72 65 76 55 70 64 61 74 | 65 50 61 6c 65 74 74 65 |revUpdat|ePalette|
|00002ca0| 0a 20 20 70 75 74 20 74 | 53 74 61 74 65 20 69 6e |. put t|State in|
|00002cb0| 74 6f 20 6c 55 70 64 61 | 74 65 48 69 73 74 6f 72 |to lUpda|teHistor|
|00002cc0| 79 0a 20 20 2d 2d 20 69 | 66 20 74 53 74 61 74 65 |y. -- i|f tState|
|00002cd0| 20 74 68 65 6e 20 64 69 | 73 61 62 6c 65 20 6d 65 | then di|sable me|
|00002ce0| 6e 75 20 22 74 65 78 74 | 22 20 65 6c 73 65 20 65 |nu "text|" else e|
|00002cf0| 6e 61 62 6c 65 20 6d 65 | 6e 75 20 22 74 65 78 74 |nable me|nu "text|
|00002d00| 22 0a 20 20 69 66 20 28 | 74 68 65 20 63 6c 69 70 |". if (|the clip|
|00002d10| 62 6f 61 72 64 20 69 73 | 20 22 65 6d 70 74 79 22 |board is| "empty"|
|00002d20| 29 20 6f 72 20 28 74 68 | 65 20 63 6c 69 70 42 6f |) or (th|e clipBo|
|00002d30| 61 72 64 20 69 73 20 22 | 74 65 78 74 22 20 61 6e |ard is "|text" an|
|00002d40| 64 20 28 74 68 65 20 73 | 65 6c 65 63 74 65 64 46 |d (the s|electedF|
|00002d50| 69 65 6c 64 29 20 69 73 | 20 65 6d 70 74 79 29 20 |ield) is| empty) |
|00002d60| 6f 72 20 28 74 68 65 20 | 63 6c 69 70 42 6f 61 72 |or (the |clipBoar|
|00002d70| 64 20 69 73 20 65 6d 70 | 74 79 20 61 6e 64 20 74 |d is emp|ty and t|
|00002d80| 68 65 20 6d 6f 64 65 20 | 6f 66 20 74 68 65 20 74 |he mode |of the t|
|00002d90| 6f 70 53 74 61 63 6b 20 | 69 73 20 6e 6f 74 20 31 |opStack |is not 1|
|00002da0| 29 20 6f 72 20 28 74 68 | 65 20 63 6c 69 70 62 6f |) or (th|e clipbo|
|00002db0| 61 72 64 20 69 73 20 22 | 6f 62 6a 65 63 74 73 22 |ard is "|objects"|
|00002dc0| 20 61 6e 64 20 74 68 65 | 20 73 65 6c 65 63 74 65 | and the| selecte|
|00002dd0| 64 46 69 65 6c 64 20 69 | 73 20 6e 6f 74 20 65 6d |dField i|s not em|
|00002de0| 70 74 79 20 61 6e 64 20 | 72 65 76 74 61 72 67 65 |pty and |revtarge|
|00002df0| 74 53 74 61 63 6b 28 74 | 68 65 20 73 65 6c 65 63 |tStack(t|he selec|
|00002e00| 74 65 64 46 69 65 6c 64 | 29 20 69 73 20 74 68 65 |tedField|) is the|
|00002e10| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00002e20| 68 65 20 74 6f 70 53 74 | 61 63 6b 29 20 74 68 65 |he topSt|ack) the|
|00002e30| 6e 0a 20 20 20 20 64 69 | 73 61 62 6c 65 20 62 74 |n. di|sable bt|
|00002e40| 6e 20 22 70 61 73 74 65 | 22 0a 20 20 20 20 69 66 |n "paste|". if|
|00002e50| 20 74 53 68 6f 77 49 63 | 6f 6e 20 74 68 65 6e 0a | tShowIc|on then.|
|00002e60| 20 20 20 20 20 20 73 65 | 74 20 74 68 65 20 69 63 | se|t the ic|
|00002e70| 6f 6e 20 6f 66 20 62 74 | 6e 20 22 70 61 73 74 65 |on of bt|n "paste|
|00002e80| 22 20 74 6f 20 32 30 31 | 32 31 33 0a 20 20 20 20 |" to 201|213. |
|00002e90| 65 6e 64 20 69 66 0a 20 | 20 65 6c 73 65 0a 20 20 |end if. | else. |
|00002ea0| 20 20 69 66 20 74 53 68 | 6f 77 49 63 6f 6e 20 74 | if tSh|owIcon t|
|00002eb0| 68 65 6e 20 73 65 74 20 | 74 68 65 20 69 63 6f 6e |hen set |the icon|
|00002ec0| 20 6f 66 20 62 74 6e 20 | 22 70 61 73 74 65 22 20 | of btn |"paste" |
|00002ed0| 74 6f 20 32 30 30 38 36 | 38 0a 20 20 20 20 65 6e |to 20086|8. en|
|00002ee0| 61 62 6c 65 20 62 74 6e | 20 22 70 61 73 74 65 22 |able btn| "paste"|
|00002ef0| 0a 20 20 65 6e 64 20 69 | 66 0a 20 20 69 66 20 28 |. end i|f. if (|
|00002f00| 74 68 65 20 73 65 6c 4f | 62 6a 29 20 69 73 20 65 |the selO|bj) is e|
|00002f10| 6d 70 74 79 20 61 6e 64 | 20 28 74 68 65 20 73 65 |mpty and| (the se|
|00002f20| 6c 65 63 74 65 64 46 69 | 65 6c 64 29 20 69 73 20 |lectedFi|eld) is |
|00002f30| 65 6d 70 74 79 20 74 68 | 65 6e 0a 20 20 20 20 69 |empty th|en. i|
|00002f40| 66 20 74 53 68 6f 77 49 | 63 6f 6e 20 74 68 65 6e |f tShowI|con then|
|00002f50| 20 73 65 74 20 74 68 65 | 20 69 63 6f 6e 20 6f 66 | set the| icon of|
|00002f60| 20 62 74 6e 20 22 63 75 | 74 22 20 74 6f 20 32 30 | btn "cu|t" to 20|
|00002f70| 31 32 30 39 0a 20 20 20 | 20 69 66 20 74 53 68 6f |1209. | if tSho|
|00002f80| 77 49 63 6f 6e 20 74 68 | 65 6e 20 73 65 74 20 74 |wIcon th|en set t|
|00002f90| 68 65 20 69 63 6f 6e 20 | 6f 66 20 62 74 6e 20 22 |he icon |of btn "|
|00002fa0| 63 6f 70 79 22 20 74 6f | 20 32 30 31 32 30 38 0a |copy" to| 201208.|
|00002fb0| 20 20 20 20 64 69 73 61 | 62 6c 65 20 62 74 6e 20 | disa|ble btn |
|00002fc0| 22 63 75 74 22 0a 20 20 | 20 20 64 69 73 61 62 6c |"cut". | disabl|
|00002fd0| 65 20 62 74 6e 20 22 63 | 6f 70 79 22 0a 20 20 65 |e btn "c|opy". e|
|00002fe0| 6c 73 65 0a 20 20 20 20 | 69 66 20 74 53 68 6f 77 |lse. |if tShow|
|00002ff0| 49 63 6f 6e 20 74 68 65 | 6e 20 73 65 74 20 74 68 |Icon the|n set th|
|00003000| 65 20 69 63 6f 6e 20 6f | 66 20 62 74 6e 20 22 63 |e icon o|f btn "c|
|00003010| 75 74 22 20 74 6f 20 32 | 30 30 38 35 37 0a 20 20 |ut" to 2|00857. |
|00003020| 20 20 69 66 20 74 53 68 | 6f 77 49 63 6f 6e 20 74 | if tSh|owIcon t|
|00003030| 68 65 6e 20 73 65 74 20 | 74 68 65 20 69 63 6f 6e |hen set |the icon|
|00003040| 20 6f 66 20 62 74 6e 20 | 22 63 6f 70 79 22 20 74 | of btn |"copy" t|
|00003050| 6f 20 32 30 30 38 35 36 | 0a 20 20 20 20 65 6e 61 |o 200856|. ena|
|00003060| 62 6c 65 20 62 74 6e 20 | 22 63 75 74 22 0a 20 20 |ble btn |"cut". |
|00003070| 20 20 65 6e 61 62 6c 65 | 20 62 74 6e 20 22 63 6f | enable| btn "co|
|00003080| 70 79 22 0a 20 20 65 6e | 64 20 69 66 0a 20 20 69 |py". en|d if. i|
|00003090| 66 20 28 74 68 65 20 73 | 65 6c 4f 62 6a 29 20 69 |f (the s|elObj) i|
|000030a0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0a 20 20 20 |s empty |then. |
|000030b0| 20 64 69 73 61 62 6c 65 | 20 62 74 6e 20 22 65 64 | disable| btn "ed|
|000030c0| 69 74 20 73 63 72 69 70 | 74 22 0a 20 20 20 20 69 |it scrip|t". i|
|000030d0| 66 20 74 53 68 6f 77 49 | 63 6f 6e 20 74 68 65 6e |f tShowI|con then|
|000030e0| 20 73 65 74 20 74 68 65 | 20 69 63 6f 6e 20 6f 66 | set the| icon of|
|000030f0| 20 62 74 6e 20 22 65 64 | 69 74 20 73 63 72 69 70 | btn "ed|it scrip|
|00003100| 74 22 20 74 6f 20 32 30 | 31 32 34 33 0a 20 20 20 |t" to 20|1243. |
|00003110| 20 64 69 73 61 62 6c 65 | 20 62 74 6e 20 22 67 72 | disable| btn "gr|
|00003120| 6f 75 70 20 63 6f 6e 74 | 72 6f 6c 73 22 0a 20 20 |oup cont|rols". |
|00003130| 20 20 69 66 20 74 53 68 | 6f 77 49 63 6f 6e 20 74 | if tSh|owIcon t|
|00003140| 68 65 6e 20 73 65 74 20 | 74 68 65 20 69 63 6f 6e |hen set |the icon|
|00003150| 20 6f 66 20 62 74 6e 20 | 22 67 72 6f 75 70 20 63 | of btn |"group c|
|00003160| 6f 6e 74 72 6f 6c 73 22 | 20 74 6f 20 32 30 31 32 |ontrols"| to 2012|
|00003170| 31 31 0a 20 20 20 20 64 | 69 73 61 62 6c 65 20 62 |11. d|isable b|
|00003180| 74 6e 20 22 6f 62 6a 65 | 63 74 20 70 72 6f 70 65 |tn "obje|ct prope|
|00003190| 72 74 69 65 73 22 0a 20 | 20 20 20 69 66 20 74 53 |rties". | if tS|
|000031a0| 68 6f 77 49 63 6f 6e 20 | 74 68 65 6e 20 73 65 74 |howIcon |then set|
|000031b0| 20 74 68 65 20 69 63 6f | 6e 20 6f 66 20 62 74 6e | the ico|n of btn|
|000031c0| 20 22 6f 62 6a 65 63 74 | 20 70 72 6f 70 65 72 74 | "object| propert|
|000031d0| 69 65 73 22 20 74 6f 20 | 32 30 31 33 35 30 0a 20 |ies" to |201350. |
|000031e0| 20 20 20 64 69 73 61 62 | 6c 65 20 62 74 6e 20 22 | disab|le btn "|
|000031f0| 74 65 78 74 31 22 0a 20 | 20 20 20 69 66 20 74 53 |text1". | if tS|
|00003200| 68 6f 77 49 63 6f 6e 20 | 74 68 65 6e 0a 20 20 20 |howIcon |then. |
|00003210| 20 20 20 73 65 74 20 74 | 68 65 20 69 63 6f 6e 20 | set t|he icon |
|00003220| 6f 66 20 62 74 6e 20 22 | 74 65 78 74 31 22 20 74 |of btn "|text1" t|
|00003230| 6f 20 32 30 32 34 34 33 | 0a 20 20 20 20 65 6e 64 |o 202443|. end|
|00003240| 20 69 66 0a 20 20 65 6c | 73 65 0a 20 20 20 20 69 | if. el|se. i|
|00003250| 66 20 77 6f 72 64 20 31 | 20 6f 66 20 28 74 68 65 |f word 1| of (the|
|00003260| 20 73 65 6c 4f 62 6a 29 | 20 69 73 20 6e 6f 74 20 | selObj)| is not |
|00003270| 61 6d 6f 6e 67 20 74 68 | 65 20 69 74 65 6d 73 20 |among th|e items |
|00003280| 6f 66 20 22 63 61 72 64 | 2c 73 74 61 63 6b 22 20 |of "card|,stack" |
|00003290| 74 68 65 6e 0a 20 20 20 | 20 20 20 69 66 20 74 53 |then. | if tS|
|000032a0| 68 6f 77 49 63 6f 6e 20 | 61 6e 64 20 74 68 65 20 |howIcon |and the |
|000032b0| 69 63 6f 6e 20 6f 66 20 | 62 74 6e 20 22 67 72 6f |icon of |btn "gro|
|000032c0| 75 70 20 63 6f 6e 74 72 | 6f 6c 73 22 20 69 73 20 |up contr|ols" is |
|000032d0| 32 30 31 32 31 31 20 74 | 68 65 6e 20 73 65 74 20 |201211 t|hen set |
|000032e0| 74 68 65 20 69 63 6f 6e | 20 6f 66 20 62 74 6e 20 |the icon| of btn |
|000032f0| 22 67 72 6f 75 70 20 63 | 6f 6e 74 72 6f 6c 73 22 |"group c|ontrols"|
|00003300| 20 74 6f 20 32 30 30 38 | 36 31 0a 20 20 20 20 20 | to 2008|61. |
|00003310| 20 65 6e 61 62 6c 65 20 | 62 74 6e 20 22 67 72 6f | enable |btn "gro|
|00003320| 75 70 20 63 6f 6e 74 72 | 6f 6c 73 22 0a 20 20 20 |up contr|ols". |
|00003330| 20 65 6e 64 20 69 66 0a | 20 20 20 20 65 6e 61 62 | end if.| enab|
|00003340| 6c 65 20 62 74 6e 20 22 | 74 65 78 74 31 22 0a 20 |le btn "|text1". |
|00003350| 20 20 20 69 66 20 74 53 | 68 6f 77 49 63 6f 6e 20 | if tS|howIcon |
|00003360| 74 68 65 6e 20 73 65 74 | 20 74 68 65 20 69 63 6f |then set| the ico|
|00003370| 6e 20 6f 66 20 62 74 6e | 20 22 74 65 78 74 31 22 |n of btn| "text1"|
|00003380| 20 74 6f 20 32 30 32 32 | 33 34 0a 20 20 20 20 65 | to 2022|34. e|
|00003390| 6e 61 62 6c 65 20 62 74 | 6e 20 22 65 64 69 74 20 |nable bt|n "edit |
|000033a0| 73 63 72 69 70 74 22 0a | 20 20 20 20 65 6e 61 62 |script".| enab|
|000033b0| 6c 65 20 62 74 6e 20 22 | 6f 62 6a 65 63 74 20 70 |le btn "|object p|
|000033c0| 72 6f 70 65 72 74 69 65 | 73 22 0a 20 20 20 20 69 |ropertie|s". i|
|000033d0| 66 20 74 53 68 6f 77 49 | 63 6f 6e 20 74 68 65 6e |f tShowI|con then|
|000033e0| 20 73 65 74 20 74 68 65 | 20 69 63 6f 6e 20 6f 66 | set the| icon of|
|000033f0| 20 62 74 6e 20 22 6f 62 | 6a 65 63 74 20 70 72 6f | btn "ob|ject pro|
|00003400| 70 65 72 74 69 65 73 22 | 20 74 6f 20 32 30 30 38 |perties"| to 2008|
|00003410| 36 37 0a 20 20 20 20 69 | 66 20 74 53 68 6f 77 49 |67. i|f tShowI|
|00003420| 63 6f 6e 20 74 68 65 6e | 20 73 65 74 20 74 68 65 |con then| set the|
|00003430| 20 69 63 6f 6e 20 6f 66 | 20 62 74 6e 20 22 65 64 | icon of| btn "ed|
|00003440| 69 74 20 73 63 72 69 70 | 74 22 20 74 6f 20 32 30 |it scrip|t" to 20|
|00003450| 30 38 36 30 0a 20 20 65 | 6e 64 20 69 66 0a 20 20 |0860. e|nd if. |
|00003460| 69 66 20 74 68 65 20 6d | 6f 75 73 65 53 74 61 63 |if the m|ouseStac|
|00003470| 6b 20 69 73 20 22 72 65 | 76 4d 65 6e 75 42 61 72 |k is "re|vMenuBar|
|00003480| 22 20 61 6e 64 20 74 68 | 65 20 6d 6f 75 73 65 43 |" and th|e mouseC|
|00003490| 6f 6e 74 72 6f 6c 20 69 | 73 20 6e 6f 74 20 65 6d |ontrol i|s not em|
|000034a0| 70 74 79 20 74 68 65 6e | 20 73 65 6e 64 20 22 6d |pty then| send "m|
|000034b0| 6f 75 73 65 4c 65 61 76 | 65 22 20 74 6f 20 74 68 |ouseLeav|e" to th|
|000034c0| 65 20 6d 6f 75 73 65 43 | 6f 6e 74 72 6f 6c 0a 65 |e mouseC|ontrol.e|
|000034d0| 6e 64 20 72 65 76 55 70 | 64 61 74 65 50 61 6c 65 |nd revUp|datePale|
|000034e0| 74 74 65 0a 0a 6f 6e 20 | 6d 6f 76 65 53 74 61 63 |tte..on |moveStac|
|000034f0| 6b 20 78 2c 79 0a 20 20 | 70 75 74 20 78 20 2d 20 |k x,y. |put x - |
|00003500| 74 68 65 20 63 52 45 56 | 53 74 61 63 6b 50 6f 73 |the cREV|StackPos|
|00003510| 69 74 69 6f 6e 58 20 6f | 66 20 74 68 69 73 20 73 |itionX o|f this s|
|00003520| 74 61 63 6b 20 69 6e 74 | 6f 20 74 58 44 69 66 66 |tack int|o tXDiff|
|00003530| 0a 20 20 70 75 74 20 79 | 20 2d 20 74 68 65 20 63 |. put y| - the c|
|00003540| 52 45 56 53 74 61 63 6b | 50 6f 73 69 74 69 6f 6e |REVStack|Position|
|00003550| 59 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |Y of thi|s stack |
|00003560| 69 6e 74 6f 20 74 59 44 | 69 66 66 0a 20 20 73 65 |into tYD|iff. se|
|00003570| 74 20 74 68 65 20 63 52 | 45 56 53 74 61 63 6b 50 |t the cR|EVStackP|
|00003580| 6f 73 69 74 69 6f 6e 58 | 20 6f 66 20 74 68 69 73 |ositionX| of this|
|00003590| 20 73 74 61 63 6b 20 74 | 6f 20 78 0a 20 20 73 65 | stack t|o x. se|
|000035a0| 74 20 74 68 65 20 63 52 | 45 56 73 74 61 63 6b 50 |t the cR|EVstackP|
|000035b0| 6f 73 69 74 69 6f 6e 59 | 20 6f 66 20 74 68 69 73 |ositionY| of this|
|000035c0| 20 73 74 61 63 6b 20 74 | 6f 20 79 0a 20 20 69 66 | stack t|o y. if|
|000035d0| 20 74 68 65 20 6f 70 74 | 69 6f 6e 4b 65 79 20 69 | the opt|ionKey i|
|000035e0| 73 20 22 64 6f 77 6e 22 | 20 74 68 65 6e 0a 20 20 |s "down"| then. |
|000035f0| 20 20 70 75 74 20 74 68 | 65 20 6f 70 65 6e 53 74 | put th|e openSt|
|00003600| 61 63 6b 73 20 69 6e 74 | 6f 20 74 53 74 61 63 6b |acks int|o tStack|
|00003610| 73 4c 69 73 74 0a 20 20 | 20 20 72 65 70 65 61 74 |sList. | repeat|
|00003620| 20 66 6f 72 20 65 61 63 | 68 20 6c 69 6e 65 20 6c | for eac|h line l|
|00003630| 20 69 6e 20 74 53 74 61 | 63 6b 73 6c 69 73 74 0a | in tSta|ckslist.|
|00003640| 20 20 20 20 20 20 69 66 | 20 6c 20 69 73 20 22 72 | if| l is "r|
|00003650| 65 76 4d 65 6e 75 42 61 | 72 22 20 74 68 65 6e 20 |evMenuBa|r" then |
|00003660| 6e 65 78 74 20 72 65 70 | 65 61 74 0a 20 20 20 20 |next rep|eat. |
|00003670| 20 20 67 65 74 20 74 68 | 65 20 6c 6f 63 20 6f 66 | get th|e loc of|
|00003680| 20 73 74 61 63 6b 20 6c | 0a 20 20 20 20 20 20 61 | stack l|. a|
|00003690| 64 64 20 74 58 44 69 66 | 66 20 74 6f 20 69 74 65 |dd tXDif|f to ite|
|000036a0| 6d 20 31 20 6f 66 20 69 | 74 0a 20 20 20 20 20 20 |m 1 of i|t. |
|000036b0| 61 64 64 20 74 59 44 69 | 66 66 20 74 6f 20 69 74 |add tYDi|ff to it|
|000036c0| 65 6d 20 32 20 6f 66 20 | 69 74 0a 20 20 20 20 20 |em 2 of |it. |
|000036d0| 20 73 65 74 20 74 68 65 | 20 6c 6f 63 20 6f 66 20 | set the| loc of |
|000036e0| 73 74 61 63 6b 20 6c 20 | 74 6f 20 69 74 0a 20 20 |stack l |to it. |
|000036f0| 20 20 65 6e 64 20 72 65 | 70 65 61 74 0a 20 20 20 | end re|peat. |
|00003700| 20 77 61 69 74 20 32 30 | 20 6d 69 6c 6c 69 73 65 | wait 20| millise|
|00003710| 63 6f 6e 64 73 0a 20 20 | 65 6e 64 20 69 66 0a 20 |conds. |end if. |
|00003720| 20 73 65 74 20 74 68 65 | 20 63 52 45 56 4d 65 6e | set the| cREVMen|
|00003730| 75 42 61 72 54 6f 70 4c | 65 66 74 20 6f 66 20 73 |uBarTopL|eft of s|
|00003740| 74 61 63 6b 20 22 72 65 | 76 50 72 65 66 65 72 65 |tack "re|vPrefere|
|00003750| 6e 63 65 73 22 20 74 6f | 20 74 68 65 20 74 6f 70 |nces" to| the top|
|00003760| 4c 65 66 74 20 6f 66 20 | 74 68 69 73 20 73 74 61 |Left of |this sta|
|00003770| 63 6b 0a 65 6e 64 20 6d | 6f 76 65 73 74 61 63 6b |ck.end m|ovestack|
|00003780| 0a 0a 6f 6e 20 6d 6f 75 | 73 65 45 6e 74 65 72 0a |..on mou|seEnter.|
|00003790| 20 20 69 66 20 22 63 52 | 45 56 74 6f 6f 6c 62 61 | if "cR|EVtoolba|
|000037a0| 72 42 75 74 74 6f 6e 22 | 20 69 73 20 69 6e 20 74 |rButton"| is in t|
|000037b0| 68 65 20 63 75 73 74 6f | 6d 4b 65 79 73 20 6f 66 |he custo|mKeys of|
|000037c0| 20 74 68 65 20 74 61 72 | 67 65 74 20 74 68 65 6e | the tar|get then|
|000037d0| 0a 20 20 20 20 73 65 74 | 20 74 68 65 20 63 6f 6c |. set| the col|
|000037e0| 6f 72 73 20 6f 66 20 62 | 74 6e 20 22 62 6f 72 64 |ors of b|tn "bord|
|000037f0| 65 72 22 20 74 6f 20 65 | 6d 70 74 79 0a 20 20 20 |er" to e|mpty. |
|00003800| 20 73 65 74 20 74 68 65 | 20 72 65 63 74 20 6f 66 | set the| rect of|
|00003810| 20 62 74 6e 20 22 62 6f | 72 64 65 72 22 20 74 6f | btn "bo|rder" to|
|00003820| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 74 68 65 | the rec|t of the|
|00003830| 20 74 61 72 67 65 74 0a | 20 20 20 20 73 65 74 20 | target.| set |
|00003840| 74 68 65 20 74 65 78 74 | 43 6f 6c 6f 72 20 6f 66 |the text|Color of|
|00003850| 20 74 68 65 20 74 61 72 | 67 65 74 20 74 6f 20 35 | the tar|get to 5|
|00003860| 31 2c 35 31 2c 31 30 32 | 0a 20 20 65 6e 64 20 69 |1,51,102|. end i|
|00003870| 66 0a 20 20 2d 2d 69 66 | 20 6e 6f 74 20 74 68 65 |f. --if| not the|
|00003880| 20 73 65 6c 65 63 74 47 | 72 6f 75 70 65 64 43 6f | selectG|roupedCo|
|00003890| 6e 74 72 6f 6c 73 20 74 | 68 65 6e 20 73 65 74 20 |ntrols t|hen set |
|000038a0| 74 68 65 20 6c 6f 63 20 | 6f 66 20 62 74 6e 20 22 |the loc |of btn "|
|000038b0| 53 47 43 20 49 6e 76 65 | 72 74 65 64 22 20 74 6f |SGC Inve|rted" to|
|000038c0| 20 2d 31 30 30 2c 2d 31 | 30 30 0a 20 20 2d 2d 65 | -100,-1|00. --e|
|000038d0| 6c 73 65 20 73 65 74 20 | 74 68 65 20 72 65 63 74 |lse set |the rect|
|000038e0| 20 6f 66 20 62 74 6e 20 | 22 53 47 43 20 49 6e 76 | of btn |"SGC Inv|
|000038f0| 65 72 74 65 64 22 20 74 | 6f 20 74 68 65 20 72 65 |erted" t|o the re|
|00003900| 63 74 20 6f 66 20 62 74 | 6e 20 22 53 65 6c 65 63 |ct of bt|n "Selec|
|00003910| 74 20 47 72 6f 75 70 65 | 64 20 43 6f 6e 74 72 6f |t Groupe|d Contro|
|00003920| 6c 73 22 0a 20 20 2d 2d | 69 66 20 6e 6f 74 20 74 |ls". --|if not t|
|00003930| 68 65 20 73 65 6c 65 63 | 74 47 72 6f 75 70 65 64 |he selec|tGrouped|
|00003940| 43 6f 6e 74 72 6f 6c 73 | 20 74 68 65 6e 20 73 65 |Controls| then se|
|00003950| 74 20 74 68 65 20 69 63 | 6f 6e 20 6f 66 20 62 74 |t the ic|on of bt|
|00003960| 6e 20 22 73 65 6c 65 63 | 74 20 67 72 6f 75 70 65 |n "selec|t groupe|
|00003970| 64 20 63 6f 6e 74 72 6f | 6c 73 22 20 74 6f 20 32 |d contro|ls" to 2|
|00003980| 30 30 38 37 35 0a 20 20 | 2d 2d 65 6c 73 65 20 73 |00875. |--else s|
|00003990| 65 74 20 74 68 65 20 69 | 63 6f 6e 20 6f 66 20 62 |et the i|con of b|
|000039a0| 74 6e 20 22 73 65 6c 65 | 63 74 20 67 72 6f 75 70 |tn "sele|ct group|
|000039b0| 65 64 20 63 6f 6e 74 72 | 6f 6c 73 22 20 74 6f 20 |ed contr|ols" to |
|000039c0| 32 30 31 32 33 30 0a 65 | 6e 64 20 6d 6f 75 73 65 |201230.e|nd mouse|
|000039d0| 45 6e 74 65 72 0a 0a 6f | 6e 20 6d 6f 75 73 65 44 |Enter..o|n mouseD|
|000039e0| 6f 77 6e 0a 20 20 70 75 | 74 20 74 68 65 20 6c 6f |own. pu|t the lo|
|000039f0| 6e 67 20 69 64 20 6f 66 | 20 74 68 65 20 74 61 72 |ng id of| the tar|
|00003a00| 67 65 74 20 69 6e 74 6f | 20 6c 43 75 72 72 65 6e |get into| lCurren|
|00003a10| 74 4f 62 6a 65 63 74 0a | 20 20 69 66 20 22 63 52 |tObject.| if "cR|
|00003a20| 45 56 74 6f 6f 6c 62 61 | 72 42 75 74 74 6f 6e 22 |EVtoolba|rButton"|
|00003a30| 20 69 73 20 69 6e 20 74 | 68 65 20 63 75 73 74 6f | is in t|he custo|
|00003a40| 6d 4b 65 79 73 20 6f 66 | 20 74 68 65 20 74 61 72 |mKeys of| the tar|
|00003a50| 67 65 74 20 74 68 65 6e | 0a 20 20 20 0a 20 20 20 |get then|. . |
|00003a60| 20 70 75 74 20 74 68 65 | 20 73 68 6f 72 74 20 6e | put the| short n|
|00003a70| 61 6d 65 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |ame of t|he targe|
|00003a80| 74 20 26 20 63 6f 6d 6d | 61 20 26 20 74 68 65 20 |t & comm|a & the |
|00003a90| 6c 6f 63 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |loc of t|he targe|
|00003aa0| 74 20 69 6e 74 6f 20 6c | 54 61 72 67 65 74 53 70 |t into l|TargetSp|
|00003ab0| 65 63 73 0a 20 20 20 0a | 20 20 20 20 70 75 74 20 |ecs. .| put |
|00003ac0| 74 68 65 20 6c 6f 63 20 | 6f 66 20 62 74 6e 20 22 |the loc |of btn "|
|00003ad0| 62 6f 72 64 65 72 22 20 | 69 6e 74 6f 20 6c 4f 72 |border" |into lOr|
|00003ae0| 69 67 4c 6f 63 0a 20 20 | 20 0a 20 20 20 20 73 65 |igLoc. | . se|
|00003af0| 74 20 74 68 65 20 74 6f | 70 43 6f 6c 6f 72 20 6f |t the to|pColor o|
|00003b00| 66 20 62 74 6e 20 22 62 | 6f 72 64 65 72 22 20 74 |f btn "b|order" t|
|00003b10| 6f 20 31 32 38 2c 31 32 | 38 2c 31 32 38 0a 20 20 |o 128,12|8,128. |
|00003b20| 20 20 73 65 74 20 74 68 | 65 20 62 6f 74 74 6f 6d | set th|e bottom|
|00003b30| 43 6f 6c 6f 72 20 6f 66 | 20 62 74 6e 20 22 62 6f |Color of| btn "bo|
|00003b40| 72 64 65 72 22 20 74 6f | 20 77 68 69 74 65 0a 20 |rder" to| white. |
|00003b50| 20 0a 20 20 20 20 69 66 | 20 22 72 65 76 4d 6f 75 | . if| "revMou|
|00003b60| 73 65 43 68 65 63 6b 22 | 20 69 73 20 6e 6f 74 20 |seCheck"| is not |
|00003b70| 69 6e 20 74 68 65 20 70 | 65 6e 64 69 6e 67 4d 65 |in the p|endingMe|
|00003b80| 73 73 61 67 65 73 20 74 | 68 65 6e 0a 20 20 20 20 |ssages t|hen. |
|00003b90| 20 20 73 65 6e 64 20 22 | 72 65 76 4d 6f 75 73 65 | send "|revMouse|
|00003ba0| 43 68 65 63 6b 22 20 74 | 6f 20 6d 65 20 69 6e 20 |Check" t|o me in |
|00003bb0| 31 30 30 20 6d 69 6c 6c | 69 73 65 63 6f 6e 64 73 |100 mill|iseconds|
|00003bc0| 0a 20 20 20 20 65 6e 64 | 20 69 66 0a 20 20 0a 20 |. end| if. . |
|00003bd0| 20 20 0a 20 20 65 6e 64 | 20 69 66 0a 65 6e 64 20 | . end| if.end |
|00003be0| 6d 6f 75 73 65 44 6f 77 | 6e 0a 0a 6f 6e 20 6d 6f |mouseDow|n..on mo|
|00003bf0| 75 73 65 55 70 0a 20 20 | 69 66 20 22 63 52 45 56 |useUp. |if "cREV|
|00003c00| 74 6f 6f 6c 62 61 72 42 | 75 74 74 6f 6e 22 20 69 |toolbarB|utton" i|
|00003c10| 73 20 69 6e 20 74 68 65 | 20 63 75 73 74 6f 6d 4b |s in the| customK|
|00003c20| 65 79 73 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |eys of t|he targe|
|00003c30| 74 20 74 68 65 6e 0a 20 | 20 20 20 73 65 74 20 74 |t then. | set t|
|00003c40| 68 65 20 64 65 66 61 75 | 6c 74 53 74 61 63 6b 20 |he defau|ltStack |
|00003c50| 74 6f 20 22 72 65 76 4d | 65 6e 75 42 61 72 22 0a |to "revM|enuBar".|
|00003c60| 20 20 20 20 73 65 74 20 | 74 68 65 20 63 6f 6c 6f | set |the colo|
|00003c70| 72 73 20 6f 66 20 62 74 | 6e 20 22 62 6f 72 64 65 |rs of bt|n "borde|
|00003c80| 72 22 20 74 6f 20 65 6d | 70 74 79 0a 20 20 20 20 |r" to em|pty. |
|00003c90| 73 65 74 20 74 68 65 20 | 6c 6f 63 20 6f 66 20 62 |set the |loc of b|
|00003ca0| 74 6e 20 22 62 6f 72 64 | 65 72 22 20 74 6f 20 2d |tn "bord|er" to -|
|00003cb0| 31 30 30 2c 2d 31 30 30 | 0a 20 20 0a 20 20 20 20 |100,-100|. . |
|00003cc0| 2d 2d 73 65 74 20 74 68 | 65 20 6c 6f 63 20 6f 66 |--set th|e loc of|
|00003cd0| 20 74 68 65 20 74 61 72 | 67 65 74 20 74 6f 20 6c | the tar|get to l|
|00003ce0| 4f 72 69 67 4c 6f 63 0a | 20 20 20 20 73 65 74 20 |OrigLoc.| set |
|00003cf0| 74 68 65 20 74 65 78 74 | 43 6f 6c 6f 72 20 6f 66 |the text|Color of|
|00003d00| 20 74 68 65 20 74 61 72 | 67 65 74 20 74 6f 20 65 | the tar|get to e|
|00003d10| 6d 70 74 79 0a 20 20 20 | 0a 20 20 65 6e 64 20 69 |mpty. |. end i|
|00003d20| 66 0a 65 6e 64 20 6d 6f | 75 73 65 55 70 0a 0a 6f |f.end mo|useUp..o|
|00003d30| 6e 20 6d 6f 75 73 65 52 | 65 6c 65 61 73 65 0a 20 |n mouseR|elease. |
|00003d40| 20 69 66 20 22 63 52 45 | 56 74 6f 6f 6c 62 61 72 | if "cRE|Vtoolbar|
|00003d50| 42 75 74 74 6f 6e 22 20 | 69 73 20 69 6e 20 74 68 |Button" |is in th|
|00003d60| 65 20 63 75 73 74 6f 6d | 4b 65 79 73 20 6f 66 20 |e custom|Keys of |
|00003d70| 74 68 65 20 74 61 72 67 | 65 74 20 74 68 65 6e 0a |the targ|et then.|
|00003d80| 20 20 20 20 73 65 74 20 | 74 68 65 20 6c 6f 63 20 | set |the loc |
|00003d90| 6f 66 20 62 74 6e 20 22 | 62 6f 72 64 65 72 22 20 |of btn "|border" |
|00003da0| 74 6f 20 2d 31 30 30 2c | 2d 31 30 30 0a 20 20 20 |to -100,|-100. |
|00003db0| 20 73 65 74 20 74 68 65 | 20 63 6f 6c 6f 72 73 20 | set the| colors |
|00003dc0| 6f 66 20 62 74 6e 20 22 | 62 6f 72 64 65 72 22 20 |of btn "|border" |
|00003dd0| 74 6f 20 65 6d 70 74 79 | 0a 20 20 20 20 20 2d 2d |to empty|. --|
|00003de0| 20 73 65 74 20 74 68 65 | 20 6c 6f 63 20 6f 66 20 | set the| loc of |
|00003df0| 74 68 65 20 74 61 72 67 | 65 74 20 74 6f 20 6c 4f |the targ|et to lO|
|00003e00| 72 69 67 4c 6f 63 0a 20 | 20 20 20 20 73 65 74 20 |rigLoc. | set |
|00003e10| 74 68 65 20 74 65 78 74 | 43 6f 6c 6f 72 20 6f 66 |the text|Color of|
|00003e20| 20 74 68 65 20 74 61 72 | 67 65 74 20 74 6f 20 65 | the tar|get to e|
|00003e30| 6d 70 74 79 0a 20 20 65 | 6e 64 20 69 66 0a 65 6e |mpty. e|nd if.en|
|00003e40| 64 20 6d 6f 75 73 65 52 | 65 6c 65 61 73 65 0a 0a |d mouseR|elease..|
|00003e50| 6f 6e 20 6d 6f 75 73 65 | 4c 65 61 76 65 0a 20 20 |on mouse|Leave. |
|00003e60| 69 66 20 22 63 52 45 56 | 74 6f 6f 6c 62 61 72 42 |if "cREV|toolbarB|
|00003e70| 75 74 74 6f 6e 22 20 69 | 73 20 69 6e 20 74 68 65 |utton" i|s in the|
|00003e80| 20 63 75 73 74 6f 6d 4b | 65 79 73 20 6f 66 20 74 | customK|eys of t|
|00003e90| 68 65 20 74 61 72 67 65 | 74 20 74 68 65 6e 0a 20 |he targe|t then. |
|00003ea0| 20 20 20 73 65 74 20 74 | 68 65 20 6c 6f 63 20 6f | set t|he loc o|
|00003eb0| 66 20 62 74 6e 20 22 62 | 6f 72 64 65 72 22 20 74 |f btn "b|order" t|
|00003ec0| 6f 20 2d 31 30 30 2c 2d | 31 30 30 0a 20 20 20 20 |o -100,-|100. |
|00003ed0| 73 65 74 20 74 68 65 20 | 74 65 78 74 43 6f 6c 6f |set the |textColo|
|00003ee0| 72 20 6f 66 20 74 68 65 | 20 74 61 72 67 65 74 20 |r of the| target |
|00003ef0| 74 6f 20 65 6d 70 74 79 | 0a 20 20 20 0a 20 20 65 |to empty|. . e|
|00003f00| 6e 64 20 69 66 0a 65 6e | 64 20 6d 6f 75 73 65 4c |nd if.en|d mouseL|
|00003f10| 65 61 76 65 0a 0a 6f 6e | 20 72 65 76 4d 6f 75 73 |eave..on| revMous|
|00003f20| 65 43 68 65 63 6b 0a 20 | 20 69 66 20 74 68 65 20 |eCheck. | if the |
|00003f30| 6d 6f 75 73 65 20 69 73 | 20 75 70 20 74 68 65 6e |mouse is| up then|
|00003f40| 0a 20 20 20 20 6c 6f 63 | 6b 20 73 63 72 65 65 6e |. loc|k screen|
|00003f50| 0a 20 20 20 0a 20 20 20 | 20 69 66 20 6e 6f 74 20 |. . | if not |
|00003f60| 77 69 74 68 69 6e 28 6c | 43 75 72 72 65 6e 74 4f |within(l|CurrentO|
|00003f70| 62 6a 65 63 74 2c 20 74 | 68 65 20 6d 6f 75 73 65 |bject, t|he mouse|
|00003f80| 4c 6f 63 29 20 74 68 65 | 6e 0a 20 20 20 20 20 20 |Loc) the|n. |
|00003f90| 73 65 74 20 74 68 65 20 | 6c 6f 63 20 6f 66 20 62 |set the |loc of b|
|00003fa0| 74 6e 20 22 62 6f 72 64 | 65 72 22 20 74 6f 20 2d |tn "bord|er" to -|
|00003fb0| 31 30 30 2c 2d 31 30 30 | 0a 20 20 20 20 20 0a 20 |100,-100|. . |
|00003fc0| 20 20 20 20 20 73 65 74 | 20 74 68 65 20 74 65 78 | set| the tex|
|00003fd0| 74 43 6f 6c 6f 72 20 6f | 66 20 62 74 6e 20 28 69 |tColor o|f btn (i|
|00003fe0| 74 65 6d 20 31 20 6f 66 | 20 6c 54 61 72 67 65 74 |tem 1 of| lTarget|
|00003ff0| 53 70 65 63 73 29 20 74 | 6f 20 65 6d 70 74 79 0a |Specs) t|o empty.|
|00004000| 20 20 20 20 20 20 73 65 | 74 20 74 68 65 20 63 6f | se|t the co|
|00004010| 6c 6f 72 73 20 6f 66 20 | 62 74 6e 20 22 62 6f 72 |lors of |btn "bor|
|00004020| 64 65 72 22 20 74 6f 20 | 65 6d 70 74 79 0a 20 20 |der" to |empty. |
|00004030| 20 20 20 0a 20 20 20 20 | 20 20 75 6e 6c 6f 63 6b | . | unlock|
|00004040| 20 73 63 72 65 65 6e 0a | 20 20 20 20 20 20 65 78 | screen.| ex|
|00004050| 69 74 20 72 65 76 4d 6f | 75 73 65 43 68 65 63 6b |it revMo|useCheck|
|00004060| 0a 20 20 20 20 65 6c 73 | 65 0a 20 20 20 20 20 20 |. els|e. |
|00004070| 73 65 74 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 |set the |rect of |
|00004080| 62 74 6e 20 22 62 6f 72 | 64 65 72 22 20 74 6f 20 |btn "bor|der" to |
|00004090| 74 68 65 20 72 65 63 74 | 20 6f 66 20 62 74 6e 20 |the rect| of btn |
|000040a0| 28 69 74 65 6d 20 31 20 | 6f 66 20 6c 54 61 72 67 |(item 1 |of lTarg|
|000040b0| 65 74 53 70 65 63 73 29 | 0a 20 20 20 20 20 20 73 |etSpecs)|. s|
|000040c0| 65 74 20 74 68 65 20 74 | 65 78 74 43 6f 6c 6f 72 |et the t|extColor|
|000040d0| 20 6f 66 20 62 74 6e 20 | 28 69 74 65 6d 20 31 20 | of btn |(item 1 |
|000040e0| 6f 66 20 6c 54 61 72 67 | 65 74 53 70 65 63 73 29 |of lTarg|etSpecs)|
|000040f0| 20 74 6f 20 65 6d 70 74 | 79 0a 20 20 20 20 20 20 | to empt|y. |
|00004100| 73 65 74 20 74 68 65 20 | 63 6f 6c 6f 72 73 20 6f |set the |colors o|
|00004110| 66 20 62 74 6e 20 22 62 | 6f 72 64 65 72 22 20 74 |f btn "b|order" t|
|00004120| 6f 20 65 6d 70 74 79 0a | 20 20 20 20 65 6e 64 20 |o empty.| end |
|00004130| 69 66 0a 20 20 20 20 75 | 6e 6c 6f 63 6b 20 73 63 |if. u|nlock sc|
|00004140| 72 65 65 6e 0a 20 20 20 | 20 69 66 20 22 72 65 76 |reen. | if "rev|
|00004150| 4d 6f 75 73 65 43 68 65 | 63 6b 22 20 69 73 20 6e |MouseChe|ck" is n|
|00004160| 6f 74 20 69 6e 20 74 68 | 65 20 70 65 6e 64 69 6e |ot in th|e pendin|
|00004170| 67 4d 65 73 73 61 67 65 | 73 20 74 68 65 6e 20 73 |gMessage|s then s|
|00004180| 65 6e 64 20 22 72 65 76 | 4d 6f 75 73 65 43 68 65 |end "rev|MouseChe|
|00004190| 63 6b 22 20 74 6f 20 6d | 65 20 69 6e 20 31 30 30 |ck" to m|e in 100|
|000041a0| 20 6d 69 6c 6c 69 73 65 | 63 6f 6e 64 73 0a 20 20 | millise|conds. |
|000041b0| 20 20 65 78 69 74 20 72 | 65 76 4d 6f 75 73 65 43 | exit r|evMouseC|
|000041c0| 68 65 63 6b 0a 20 20 65 | 6e 64 20 69 66 0a 20 0a |heck. e|nd if. .|
|000041d0| 20 20 69 66 20 6e 6f 74 | 20 77 69 74 68 69 6e 28 | if not| within(|
|000041e0| 6c 43 75 72 72 65 6e 74 | 4f 62 6a 65 63 74 2c 20 |lCurrent|Object, |
|000041f0| 74 68 65 20 6d 6f 75 73 | 65 4c 6f 63 29 20 74 68 |the mous|eLoc) th|
|00004200| 65 6e 0a 20 20 20 0a 20 | 20 20 20 73 65 74 20 74 |en. . | set t|
|00004210| 68 65 20 6c 6f 63 20 6f | 66 20 62 74 6e 20 22 62 |he loc o|f btn "b|
|00004220| 6f 72 64 65 72 22 20 74 | 6f 20 2d 31 30 30 2c 2d |order" t|o -100,-|
|00004230| 31 30 30 0a 20 20 20 0a | 20 20 20 20 73 65 74 20 |100. .| set |
|00004240| 74 68 65 20 74 65 78 74 | 43 6f 6c 6f 72 20 6f 66 |the text|Color of|
|00004250| 20 62 74 6e 20 28 69 74 | 65 6d 20 31 20 6f 66 20 | btn (it|em 1 of |
|00004260| 6c 54 61 72 67 65 74 53 | 70 65 63 73 29 20 74 6f |lTargetS|pecs) to|
|00004270| 20 65 6d 70 74 79 0a 20 | 20 20 20 73 65 74 20 74 | empty. | set t|
|00004280| 68 65 20 63 6f 6c 6f 72 | 73 20 6f 66 20 62 74 6e |he color|s of btn|
|00004290| 20 22 62 6f 72 64 65 72 | 22 20 74 6f 20 65 6d 70 | "border|" to emp|
|000042a0| 74 79 0a 20 20 65 6c 73 | 65 0a 20 20 20 20 73 65 |ty. els|e. se|
|000042b0| 74 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 62 74 |t the re|ct of bt|
|000042c0| 6e 20 22 62 6f 72 64 65 | 72 22 20 74 6f 20 74 68 |n "borde|r" to th|
|000042d0| 65 20 72 65 63 74 20 6f | 66 20 62 74 6e 20 28 69 |e rect o|f btn (i|
|000042e0| 74 65 6d 20 31 20 6f 66 | 20 6c 54 61 72 67 65 74 |tem 1 of| lTarget|
|000042f0| 53 70 65 63 73 29 0a 20 | 20 20 20 73 65 74 20 74 |Specs). | set t|
|00004300| 68 65 20 74 6f 70 43 6f | 6c 6f 72 20 6f 66 20 62 |he topCo|lor of b|
|00004310| 74 6e 20 22 62 6f 72 64 | 65 72 22 20 74 6f 20 31 |tn "bord|er" to 1|
|00004320| 32 38 2c 31 32 38 2c 31 | 32 38 0a 20 20 20 20 73 |28,128,1|28. s|
|00004330| 65 74 20 74 68 65 20 62 | 6f 74 74 6f 6d 43 6f 6c |et the b|ottomCol|
|00004340| 6f 72 20 6f 66 20 62 74 | 6e 20 22 62 6f 72 64 65 |or of bt|n "borde|
|00004350| 72 22 20 74 6f 20 77 68 | 69 74 65 0a 20 20 20 0a |r" to wh|ite. .|
|00004360| 20 20 65 6e 64 20 69 66 | 0a 20 20 69 66 20 22 72 | end if|. if "r|
|00004370| 65 76 4d 6f 75 73 65 43 | 68 65 63 6b 22 20 69 73 |evMouseC|heck" is|
|00004380| 20 6e 6f 74 20 69 6e 20 | 74 68 65 20 70 65 6e 64 | not in |the pend|
|00004390| 69 6e 67 4d 65 73 73 61 | 67 65 73 20 74 68 65 6e |ingMessa|ges then|
|000043a0| 20 73 65 6e 64 20 22 72 | 65 76 4d 6f 75 73 65 43 | send "r|evMouseC|
|000043b0| 68 65 63 6b 22 20 74 6f | 20 6d 65 20 69 6e 20 31 |heck" to| me in 1|
|000043c0| 30 30 20 6d 69 6c 6c 69 | 73 65 63 6f 6e 64 73 0a |00 milli|seconds.|
|000043d0| 65 6e 64 20 72 65 76 4d | 6f 75 73 65 43 68 65 63 |end revM|ouseChec|
|000043e0| 6b 0a 0a 6f 6e 20 72 65 | 76 53 65 74 75 70 54 65 |k..on re|vSetupTe|
|000043f0| 78 74 0a 20 20 70 75 74 | 20 74 68 65 20 74 65 78 |xt. put| the tex|
|00004400| 74 20 6f 66 20 62 74 6e | 20 22 56 69 65 77 22 20 |t of btn| "View" |
|00004410| 69 6e 74 6f 20 74 56 69 | 65 77 0a 20 20 64 65 6c |into tVi|ew. del|
|00004420| 65 74 65 20 6c 69 6e 65 | 20 31 39 20 74 6f 20 2d |ete line| 19 to -|
|00004430| 31 20 6f 66 20 74 56 69 | 65 77 0a 20 20 73 77 69 |1 of tVi|ew. swi|
|00004440| 74 63 68 20 74 68 65 20 | 70 6c 61 74 66 6f 72 6d |tch the |platform|
|00004450| 0a 20 20 63 61 73 65 20 | 22 4d 61 63 4f 53 22 0a |. case |"MacOS".|
|00004460| 20 20 20 20 70 75 74 20 | 63 72 20 26 20 22 21 63 | put |cr & "!c|
|00004470| 22 20 26 20 74 61 62 20 | 26 20 22 4d 61 63 20 4f |" & tab |& "Mac O|
|00004480| 53 20 41 70 70 65 61 72 | 61 6e 63 65 20 4d 61 6e |S Appear|ance Man|
|00004490| 61 67 65 72 22 20 26 20 | 63 72 20 26 20 22 21 75 |ager" & |cr & "!u|
|000044a0| 22 20 26 20 74 61 62 20 | 26 20 22 4d 61 63 20 4f |" & tab |& "Mac O|
|000044b0| 53 20 45 6d 75 6c 61 74 | 65 64 22 20 26 63 72 26 |S Emulat|ed" &cr&|
|000044c0| 74 61 62 26 22 2d 22 26 | 63 72 26 22 21 75 22 20 |tab&"-"&|cr&"!u" |
|000044d0| 26 20 74 61 62 20 26 20 | 22 50 72 65 76 69 65 77 |& tab & |"Preview|
|000044e0| 20 57 69 6e 64 6f 77 73 | 22 20 26 20 63 72 20 26 | Windows|" & cr &|
|000044f0| 20 22 21 75 22 20 26 20 | 74 61 62 20 26 20 22 50 | "!u" & |tab & "P|
|00004500| 72 65 76 69 65 77 20 4c | 69 6e 75 78 22 20 61 66 |review L|inux" af|
|00004510| 74 65 72 20 74 56 69 65 | 77 0a 20 20 20 20 62 72 |ter tVie|w. br|
|00004520| 65 61 6b 0a 20 20 63 61 | 73 65 20 22 57 69 6e 33 |eak. ca|se "Win3|
|00004530| 32 22 0a 20 20 20 20 70 | 75 74 20 63 72 26 20 74 |2". p|ut cr& t|
|00004540| 61 62 20 26 20 22 21 72 | 4e 61 74 69 76 65 20 28 |ab & "!r|Native (|
|00004550| 57 69 6e 64 6f 77 73 29 | 22 20 26 63 72 26 74 61 |Windows)|" &cr&ta|
|00004560| 62 26 22 2d 22 26 63 72 | 20 26 74 61 62 26 22 21 |b&"-"&cr| &tab&"!|
|00004570| 75 50 72 65 76 69 65 77 | 20 4d 61 63 4f 53 22 26 |uPreview| MacOS"&|
|00004580| 63 72 20 26 74 61 62 26 | 22 21 75 50 72 65 76 69 |cr &tab&|"!uPrevi|
|00004590| 65 77 20 4c 69 6e 75 78 | 22 20 61 66 74 65 72 20 |ew Linux|" after |
|000045a0| 74 56 69 65 77 0a 20 20 | 20 20 62 72 65 61 6b 0a |tView. | break.|
|000045b0| 20 20 64 65 66 61 75 6c | 74 0a 20 20 20 20 70 75 | defaul|t. pu|
|000045c0| 74 20 63 72 20 26 20 74 | 61 62 20 26 20 22 21 72 |t cr & t|ab & "!r|
|000045d0| 4e 61 74 69 76 65 20 28 | 4c 69 6e 75 78 29 22 26 |Native (|Linux)"&|
|000045e0| 63 72 20 26 74 61 62 26 | 22 2d 22 26 63 72 20 26 |cr &tab&|"-"&cr &|
|000045f0| 74 61 62 26 22 21 75 50 | 72 65 76 69 65 77 20 57 |tab&"!uP|review W|
|00004600| 69 6e 64 6f 77 73 22 20 | 26 20 63 72 20 26 20 74 |indows" |& cr & t|
|00004610| 61 62 20 26 20 22 21 75 | 50 72 65 76 69 65 77 20 |ab & "!u|Preview |
|00004620| 4d 61 63 4f 53 22 20 61 | 66 74 65 72 20 74 56 69 |MacOS" a|fter tVi|
|00004630| 65 77 0a 20 20 20 20 62 | 72 65 61 6b 0a 20 20 65 |ew. b|reak. e|
|00004640| 6e 64 20 73 77 69 74 63 | 68 0a 20 20 70 75 74 20 |nd switc|h. put |
|00004650| 63 72 26 22 2d 22 26 63 | 72 26 22 21 6e 53 68 6f |cr&"-"&c|r&"!nSho|
|00004660| 77 20 26 49 6e 76 69 73 | 69 62 6c 65 20 4f 62 6a |w &Invis|ible Obj|
|00004670| 65 63 74 73 22 20 61 66 | 74 65 72 20 74 56 69 65 |ects" af|ter tVie|
|00004680| 77 0a 20 20 70 75 74 20 | 74 56 69 65 77 20 69 6e |w. put |tView in|
|00004690| 74 6f 20 62 74 6e 20 22 | 56 69 65 77 22 0a 20 20 |to btn "|View". |
|000046a0| 0a 20 20 70 75 74 20 74 | 68 65 20 66 6f 6e 74 4e |. put t|he fontN|
|000046b0| 61 6d 65 73 20 69 6e 74 | 6f 20 74 46 6f 6e 74 4e |ames int|o tFontN|
|000046c0| 61 6d 65 73 0a 20 20 72 | 65 70 6c 61 63 65 20 22 |ames. r|eplace "|
|000046d0| 2f 22 20 77 69 74 68 20 | 22 5c 22 20 69 6e 20 74 |/" with |"\" in t|
|000046e0| 46 6f 6e 74 4e 61 6d 65 | 73 0a 20 20 73 6f 72 74 |FontName|s. sort|
|000046f0| 20 6c 69 6e 65 73 20 6f | 66 20 74 46 6f 6e 74 4e | lines o|f tFontN|
|00004700| 61 6d 65 73 0a 20 20 70 | 75 74 20 22 55 73 65 20 |ames. p|ut "Use |
|00004710| 4f 77 6e 65 72 27 73 20 | 46 6f 6e 74 22 20 26 20 |Owner's |Font" & |
|00004720| 63 72 20 26 20 22 2d 22 | 20 26 20 63 72 20 62 65 |cr & "-"| & cr be|
|00004730| 66 6f 72 65 20 74 46 6f | 6e 74 4e 61 6d 65 73 0a |fore tFo|ntNames.|
|00004740| 20 20 70 75 74 20 22 46 | 6f 6e 74 22 20 26 20 63 | put "F|ont" & c|
|00004750| 72 20 69 6e 74 6f 20 74 | 4e 65 77 54 65 78 74 0a |r into t|NewText.|
|00004760| 20 20 70 75 74 20 31 20 | 69 6e 74 6f 20 66 6f 6e | put 1 |into fon|
|00004770| 74 6e 75 6d 0a 20 20 72 | 65 70 65 61 74 20 66 6f |tnum. r|epeat fo|
|00004780| 72 20 65 61 63 68 20 6c | 69 6e 65 20 6c 20 69 6e |r each l|ine l in|
|00004790| 20 74 46 6f 6e 74 4e 61 | 6d 65 73 0a 20 20 20 20 | tFontNa|mes. |
|000047a0| 69 66 20 6c 20 69 73 20 | 22 2d 22 20 74 68 65 6e |if l is |"-" then|
|000047b0| 20 70 75 74 20 74 61 62 | 20 26 20 6c 20 26 20 63 | put tab| & l & c|
|000047c0| 72 20 61 66 74 65 72 20 | 74 4e 65 77 54 65 78 74 |r after |tNewText|
|000047d0| 0a 20 20 20 20 65 6c 73 | 65 20 70 75 74 20 22 21 |. els|e put "!|
|000047e0| 75 22 20 26 20 74 61 62 | 20 26 20 6c 20 26 20 63 |u" & tab| & l & c|
|000047f0| 72 20 61 66 74 65 72 20 | 74 4e 65 77 54 65 78 74 |r after |tNewText|
|00004800| 0a 20 20 65 6e 64 20 72 | 65 70 65 61 74 0a 20 20 |. end r|epeat. |
|00004810| 70 75 74 20 22 53 69 7a | 65 22 20 26 20 63 72 20 |put "Siz|e" & cr |
|00004820| 61 66 74 65 72 20 74 4e | 65 77 54 65 78 74 0a 20 |after tN|ewText. |
|00004830| 20 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 | put the| number |
|00004840| 6f 66 20 6c 69 6e 65 73 | 20 69 6e 20 74 4e 65 77 |of lines| in tNew|
|00004850| 54 65 78 74 20 69 6e 74 | 6f 20 74 53 69 7a 65 4e |Text int|o tSizeN|
|00004860| 75 6d 0a 20 20 70 75 74 | 20 66 6f 72 6d 61 74 28 |um. put| format(|
|00004870| 22 55 73 65 20 4f 77 6e | 65 72 27 73 20 53 69 7a |"Use Own|er's Siz|
|00004880| 65 5c 6e 2d 5c 6e 38 5c | 6e 39 5c 6e 31 30 5c 6e |e\n-\n8\|n9\n10\n|
|00004890| 31 32 5c 6e 31 34 5c 6e | 31 38 5c 6e 32 34 5c 6e |12\n14\n|18\n24\n|
|000048a0| 33 36 5c 6e 34 38 5c 6e | 2d 5c 6e 4f 74 68 65 72 |36\n48\n|-\nOther|
|000048b0| 2e 2e 2e 22 29 20 69 6e | 74 6f 20 74 46 6f 6e 74 |...") in|to tFont|
|000048c0| 53 69 7a 65 73 0a 20 20 | 72 65 70 65 61 74 20 66 |Sizes. |repeat f|
|000048d0| 6f 72 20 65 61 63 68 20 | 6c 69 6e 65 20 6c 20 69 |or each |line l i|
|000048e0| 6e 20 74 46 6f 6e 74 53 | 69 7a 65 73 0a 20 20 20 |n tFontS|izes. |
|000048f0| 20 69 66 20 6c 20 69 73 | 20 22 2d 22 20 74 68 65 | if l is| "-" the|
|00004900| 6e 20 70 75 74 20 74 61 | 62 20 26 20 6c 20 26 20 |n put ta|b & l & |
|00004910| 63 72 20 61 66 74 65 72 | 20 74 4e 65 77 54 65 78 |cr after| tNewTex|
|00004920| 74 0a 20 20 20 20 65 6c | 73 65 20 70 75 74 20 22 |t. el|se put "|
|00004930| 21 75 22 20 26 20 74 61 | 62 20 26 20 6c 20 26 20 |!u" & ta|b & l & |
|00004940| 63 72 20 61 66 74 65 72 | 20 74 4e 65 77 54 65 78 |cr after| tNewTex|
|00004950| 74 0a 20 20 65 6e 64 20 | 72 65 70 65 61 74 0a 20 |t. end |repeat. |
|00004960| 20 70 75 74 20 22 43 6f | 6c 6f 72 22 20 26 20 63 | put "Co|lor" & c|
|00004970| 72 20 61 66 74 65 72 20 | 74 4e 65 77 54 65 78 74 |r after |tNewText|
|00004980| 0a 20 20 70 75 74 20 74 | 68 65 20 6e 75 6d 62 65 |. put t|he numbe|
|00004990| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 74 4e |r of lin|es in tN|
|000049a0| 65 77 54 65 78 74 20 69 | 6e 74 6f 20 74 43 6f 6c |ewText i|nto tCol|
|000049b0| 6f 72 4e 75 6d 0a 20 20 | 70 75 74 20 66 6f 72 6d |orNum. |put form|
|000049c0| 61 74 28 22 55 73 65 20 | 4f 77 6e 65 72 27 73 20 |at("Use |Owner's |
|000049d0| 43 6f 6c 6f 72 5c 6e 2d | 5c 6e 42 6c 61 63 6b 5c |Color\n-|\nBlack\|
|000049e0| 6e 57 68 69 74 65 5c 6e | 52 65 64 5c 6e 47 72 65 |nWhite\n|Red\nGre|
|000049f0| 65 6e 5c 6e 42 6c 75 65 | 5c 6e 59 65 6c 6c 6f 77 |en\nBlue|\nYellow|
|00004a00| 5c 6e 2d 5c 6e 50 65 6e | 20 43 6f 6c 6f 72 22 29 |\n-\nPen| Color")|
|00004a10| 20 69 6e 74 6f 20 74 43 | 6f 6c 6f 72 73 0a 20 20 | into tC|olors. |
|00004a20| 72 65 70 65 61 74 20 66 | 6f 72 20 65 61 63 68 20 |repeat f|or each |
|00004a30| 6c 69 6e 65 20 6c 20 69 | 6e 20 74 43 6f 6c 6f 72 |line l i|n tColor|
|00004a40| 73 0a 20 20 20 20 69 66 | 20 6c 20 69 73 20 22 2d |s. if| l is "-|
|00004a50| 22 20 74 68 65 6e 20 70 | 75 74 20 74 61 62 20 26 |" then p|ut tab &|
|00004a60| 20 6c 20 26 20 63 72 20 | 61 66 74 65 72 20 74 4e | l & cr |after tN|
|00004a70| 65 77 54 65 78 74 0a 20 | 20 20 20 65 6c 73 65 20 |ewText. | else |
|00004a80| 70 75 74 20 22 21 75 22 | 20 26 20 74 61 62 20 26 |put "!u"| & tab &|
|00004a90| 20 6c 20 26 20 63 72 20 | 61 66 74 65 72 20 74 4e | l & cr |after tN|
|00004aa0| 65 77 54 65 78 74 0a 20 | 20 65 6e 64 20 72 65 70 |ewText. | end rep|
|00004ab0| 65 61 74 0a 20 20 70 75 | 74 20 20 22 2d 22 20 26 |eat. pu|t "-" &|
|00004ac0| 20 63 72 20 26 20 22 26 | 41 6c 69 67 6e 22 20 26 | cr & "&|Align" &|
|00004ad0| 20 63 72 20 26 20 74 61 | 62 20 26 20 22 21 75 4c | cr & ta|b & "!uL|
|00004ae0| 65 66 74 22 20 26 20 63 | 72 20 26 20 74 61 62 20 |eft" & c|r & tab |
|00004af0| 26 20 22 21 75 43 65 6e | 74 65 72 22 20 26 20 63 |& "!uCen|ter" & c|
|00004b00| 72 20 26 20 74 61 62 20 | 26 20 22 21 75 52 69 67 |r & tab |& "!uRig|
|00004b10| 68 74 22 20 61 66 74 65 | 72 20 74 4e 65 77 54 65 |ht" afte|r tNewTe|
|00004b20| 78 74 0a 20 20 70 75 74 | 20 74 68 65 20 63 4f 72 |xt. put| the cOr|
|00004b30| 69 67 54 65 78 74 20 6f | 66 20 62 74 6e 20 22 74 |igText o|f btn "t|
|00004b40| 65 78 74 22 20 69 6e 74 | 6f 20 74 50 72 65 76 54 |ext" int|o tPrevT|
|00004b50| 65 78 74 0a 20 20 70 75 | 74 20 74 4e 65 77 54 65 |ext. pu|t tNewTe|
|00004b60| 78 74 20 69 6e 74 6f 20 | 6c 69 6e 65 20 31 34 20 |xt into |line 14 |
|00004b70| 74 6f 20 2d 31 20 6f 66 | 20 74 50 72 65 76 54 65 |to -1 of| tPrevTe|
|00004b80| 78 74 0a 20 20 73 65 74 | 20 74 68 65 20 74 65 78 |xt. set| the tex|
|00004b90| 74 20 6f 66 20 62 74 6e | 20 22 74 65 78 74 22 20 |t of btn| "text" |
|00004ba0| 74 6f 20 74 50 72 65 76 | 54 65 78 74 0a 20 20 70 |to tPrev|Text. p|
|00004bb0| 75 74 20 74 50 72 65 76 | 54 65 78 74 20 69 6e 74 |ut tPrev|Text int|
|00004bc0| 6f 20 67 52 45 56 54 65 | 78 74 4d 65 6e 75 0a 20 |o gREVTe|xtMenu. |
|00004bd0| 20 72 65 70 65 61 74 20 | 66 6f 72 20 65 61 63 68 | repeat |for each|
|00004be0| 20 6c 69 6e 65 20 6c 20 | 69 6e 20 67 52 45 56 54 | line l |in gREVT|
|00004bf0| 65 78 74 4d 65 6e 75 0a | 20 20 20 20 69 66 20 74 |extMenu.| if t|
|00004c00| 68 65 20 70 6c 61 74 66 | 6f 72 6d 20 69 73 20 22 |he platf|orm is "|
|00004c10| 4d 61 63 4f 53 22 20 61 | 6e 64 20 74 61 62 20 69 |MacOS" a|nd tab i|
|00004c20| 73 20 69 6e 20 6c 20 74 | 68 65 6e 0a 20 20 20 20 |s in l t|hen. |
|00004c30| 20 20 72 65 70 6c 61 63 | 65 20 74 61 62 20 77 69 | replac|e tab wi|
|00004c40| 74 68 20 65 6d 70 74 79 | 20 69 6e 20 6c 0a 20 20 |th empty| in l. |
|00004c50| 20 20 20 20 70 75 74 20 | 74 61 62 20 26 20 22 28 | put |tab & "(|
|00004c60| 22 20 26 20 6c 20 26 20 | 63 72 20 61 66 74 65 72 |" & l & |cr after|
|00004c70| 20 74 44 69 73 61 62 6c | 65 64 54 65 78 74 0a 20 | tDisabl|edText. |
|00004c80| 20 20 20 65 6c 73 65 0a | 20 20 20 20 20 20 70 75 | else.| pu|
|00004c90| 74 20 22 28 22 20 26 20 | 6c 20 26 20 63 72 20 61 |t "(" & |l & cr a|
|00004ca0| 66 74 65 72 20 74 44 69 | 73 61 62 6c 65 64 54 65 |fter tDi|sabledTe|
|00004cb0| 78 74 0a 20 20 20 20 65 | 6e 64 20 69 66 0a 20 20 |xt. e|nd if. |
|00004cc0| 65 6e 64 20 72 65 70 65 | 61 74 0a 20 20 64 65 6c |end repe|at. del|
|00004cd0| 65 74 65 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |ete last| char of|
|00004ce0| 20 74 44 69 73 61 62 6c | 65 64 54 65 78 74 0a 20 | tDisabl|edText. |
|00004cf0| 20 70 75 74 20 74 44 69 | 73 61 62 6c 65 64 54 65 | put tDi|sabledTe|
|00004d00| 78 74 20 69 6e 74 6f 20 | 67 52 45 56 44 69 73 61 |xt into |gREVDisa|
|00004d10| 62 6c 65 64 54 65 78 74 | 0a 65 6e 64 20 72 65 76 |bledText|.end rev|
|00004d20| 53 65 74 75 70 54 65 78 | 74 0a 0a 6f 6e 20 63 6c |SetupTex|t..on cl|
|00004d30| 6f 73 65 53 74 61 63 6b | 52 65 71 75 65 73 74 0a |oseStack|Request.|
|00004d40| 20 20 73 65 6e 64 20 22 | 6d 65 6e 75 50 69 63 6b | send "|menuPick|
|00004d50| 22 20 26 26 20 22 45 78 | 69 74 22 20 74 6f 20 6d |" && "Ex|it" to m|
|00004d60| 65 6e 75 20 22 46 69 6c | 65 22 0a 65 6e 64 20 63 |enu "Fil|e".end c|
|00004d70| 6c 6f 73 65 53 74 61 63 | 6b 52 65 71 75 65 73 74 |loseStac|kRequest|
|00004d80| 0a 0a 0a 2d 2d 2d 2d 2d | 2d 43 6f 6e 74 65 78 74 |...-----|-Context|
|00004d90| 20 53 65 6e 73 69 74 69 | 76 65 20 4d 65 6e 75 20 | Sensiti|ve Menu |
|00004da0| 4c 69 62 72 61 72 69 65 | 73 2d 2d 2d 2d 2d 2d 0a |Librarie|s------.|
|00004db0| 0a 6f 6e 20 72 65 76 44 | 6f 43 61 72 64 53 74 61 |.on revD|oCardSta|
|00004dc0| 63 6b 4d 65 6e 75 20 70 | 4d 65 6e 75 49 74 65 6d |ckMenu p|MenuItem|
|00004dd0| 2c 20 70 4f 77 6e 65 72 | 4d 65 6e 75 0a 20 20 67 |, pOwner|Menu. g|
|00004de0| 6c 6f 62 61 6c 20 67 52 | 45 56 4d 65 6e 75 54 61 |lobal gR|EVMenuTa|
|00004df0| 72 67 65 74 0a 20 20 70 | 75 74 20 72 65 76 54 61 |rget. p|ut revTa|
|00004e00| 72 67 65 74 53 74 61 63 | 6b 28 67 52 45 56 4d 65 |rgetStac|k(gREVMe|
|00004e10| 6e 75 54 61 72 67 65 74 | 29 20 69 6e 74 6f 20 74 |nuTarget|) into t|
|00004e20| 54 61 72 67 65 74 53 74 | 61 63 6b 0a 20 20 73 77 |TargetSt|ack. sw|
|00004e30| 69 74 63 68 20 70 4d 65 | 6e 75 49 74 65 6d 0a 20 |itch pMe|nuItem. |
|00004e40| 20 63 61 73 65 20 22 45 | 64 69 74 20 43 61 72 64 | case "E|dit Card|
|00004e50| 20 53 63 72 69 70 74 22 | 0a 20 20 20 20 65 64 69 | Script"|. edi|
|00004e60| 74 20 73 63 72 69 70 74 | 20 6f 66 20 74 68 69 73 |t script| of this|
|00004e70| 20 63 64 20 6f 66 20 73 | 74 61 63 6b 20 74 54 61 | cd of s|tack tTa|
|00004e80| 72 67 65 74 53 74 61 63 | 6b 0a 20 20 20 20 62 72 |rgetStac|k. br|
|00004e90| 65 61 6b 0a 20 20 63 61 | 73 65 20 22 43 61 72 64 |eak. ca|se "Card|
|00004ea0| 20 50 72 6f 70 65 72 74 | 69 65 73 22 0a 20 20 20 | Propert|ies". |
|00004eb0| 20 73 65 6c 65 63 74 20 | 74 68 69 73 20 63 64 20 | select |this cd |
|00004ec0| 6f 66 20 73 74 61 63 6b | 20 74 54 61 72 67 65 74 |of stack| tTarget|
|00004ed0| 53 74 61 63 6b 0a 20 20 | 20 20 73 65 6e 64 20 22 |Stack. | send "|
|00004ee0| 72 65 76 42 75 69 6c 64 | 50 72 6f 70 65 72 74 79 |revBuild|Property|
|00004ef0| 50 61 6c 65 74 74 65 22 | 20 74 6f 20 73 74 61 63 |Palette"| to stac|
|00004f00| 6b 20 22 72 65 76 50 72 | 6f 70 65 72 74 69 65 73 |k "revPr|operties|
|00004f10| 53 68 65 6c 6c 22 0a 20 | 20 20 20 62 72 65 61 6b |Shell". | break|
|00004f20| 0a 20 20 63 61 73 65 20 | 22 4e 65 77 20 43 61 72 |. case |"New Car|
|00004f30| 64 22 0a 20 20 20 20 73 | 65 74 20 74 68 65 20 64 |d". s|et the d|
|00004f40| 65 66 61 75 6c 74 53 74 | 61 63 6b 20 74 6f 20 74 |efaultSt|ack to t|
|00004f50| 54 61 72 67 65 74 53 74 | 61 63 6b 0a 20 20 20 20 |TargetSt|ack. |
|00004f60| 63 72 65 61 74 65 20 63 | 61 72 64 0a 20 20 20 20 |create c|ard. |
|00004f70| 62 72 65 61 6b 0a 20 20 | 63 61 73 65 20 22 45 64 |break. |case "Ed|
|00004f80| 69 74 20 53 74 61 63 6b | 20 53 63 72 69 70 74 22 |it Stack| Script"|
|00004f90| 0a 20 20 20 20 65 64 69 | 74 20 73 63 72 69 70 74 |. edi|t script|
|00004fa0| 20 6f 66 20 73 74 61 63 | 6b 20 74 54 61 72 67 65 | of stac|k tTarge|
|00004fb0| 74 53 74 61 63 6b 0a 20 | 20 20 20 62 72 65 61 6b |tStack. | break|
|00004fc0| 0a 20 20 63 61 73 65 20 | 22 53 74 61 63 6b 20 50 |. case |"Stack P|
|00004fd0| 72 6f 70 65 72 74 69 65 | 73 22 0a 20 20 20 20 73 |ropertie|s". s|
|00004fe0| 65 6c 65 63 74 20 73 74 | 61 63 6b 20 74 54 61 72 |elect st|ack tTar|
|00004ff0| 67 65 74 53 74 61 63 6b | 0a 20 20 20 20 73 65 6e |getStack|. sen|
|00005000| 64 20 22 72 65 76 42 75 | 69 6c 64 50 72 6f 70 65 |d "revBu|ildPrope|
|00005010| 72 74 79 50 61 6c 65 74 | 74 65 22 20 74 6f 20 73 |rtyPalet|te" to s|
|00005020| 74 61 63 6b 20 22 72 65 | 76 50 72 6f 70 65 72 74 |tack "re|vPropert|
|00005030| 69 65 73 53 68 65 6c 6c | 22 0a 20 20 20 20 62 72 |iesShell|". br|
|00005040| 65 61 6b 0a 20 20 63 61 | 73 65 20 22 74 6f 70 4c |eak. ca|se "topL|
|00005050| 65 76 65 6c 22 0a 20 20 | 63 61 73 65 20 22 6d 6f |evel". |case "mo|
|00005060| 64 65 6c 65 73 73 22 0a | 20 20 63 61 73 65 20 22 |deless".| case "|
|00005070| 70 61 6c 65 74 74 65 22 | 0a 20 20 63 61 73 65 20 |palette"|. case |
|00005080| 22 6d 6f 64 61 6c 22 0a | 20 20 20 20 73 65 6e 64 |"modal".| send|
|00005090| 20 22 72 65 76 43 68 61 | 6e 67 65 4d 6f 64 65 20 | "revCha|ngeMode |
|000050a0| 70 4d 65 6e 75 49 74 65 | 6d 2c 20 74 54 61 72 67 |pMenuIte|m, tTarg|
|000050b0| 65 74 53 74 61 63 6b 22 | 20 74 6f 20 6d 65 20 69 |etStack"| to me i|
|000050c0| 6e 20 32 30 30 20 6d 69 | 6c 6c 69 73 65 63 6f 6e |n 200 mi|llisecon|
|000050d0| 64 73 0a 20 20 20 20 62 | 72 65 61 6b 0a 20 20 63 |ds. b|reak. c|
|000050e0| 61 73 65 20 22 53 61 76 | 65 22 0a 20 20 20 20 69 |ase "Sav|e". i|
|000050f0| 66 20 74 68 65 20 65 66 | 66 65 63 74 69 76 65 20 |f the ef|fective |
|00005100| 66 69 6c 65 4e 61 6d 65 | 20 6f 66 20 73 74 61 63 |fileName| of stac|
|00005110| 6b 20 74 54 61 72 67 65 | 74 53 74 61 63 6b 20 69 |k tTarge|tStack i|
|00005120| 73 20 6e 6f 74 20 65 6d | 70 74 79 0a 20 20 20 20 |s not em|pty. |
|00005130| 74 68 65 6e 20 72 65 76 | 53 61 76 65 20 74 54 61 |then rev|Save tTa|
|00005140| 72 67 65 74 53 74 61 63 | 6b 0a 20 20 20 20 65 6c |rgetStac|k. el|
|00005150| 73 65 20 72 65 76 53 61 | 76 65 41 73 20 74 54 61 |se revSa|veAs tTa|
|00005160| 72 67 65 74 53 74 61 63 | 6b 0a 20 20 20 20 62 72 |rgetStac|k. br|
|00005170| 65 61 6b 0a 20 20 63 61 | 73 65 20 22 50 61 73 74 |eak. ca|se "Past|
|00005180| 65 20 4f 62 6a 65 63 74 | 73 22 0a 20 20 20 20 73 |e Object|s". s|
|00005190| 65 74 20 74 68 65 20 64 | 65 66 61 75 6c 74 53 74 |et the d|efaultSt|
|000051a0| 61 63 6b 20 74 6f 20 74 | 54 61 72 67 65 74 53 74 |ack to t|TargetSt|
|000051b0| 61 63 6b 0a 20 20 20 20 | 70 61 73 74 65 0a 20 20 |ack. |paste. |
|000051c0| 20 20 62 72 65 61 6b 0a | 20 20 64 65 66 61 75 6c | break.| defaul|
|000051d0| 74 0a 20 20 20 20 2d 2d | 70 4d 65 6e 75 49 74 65 |t. --|pMenuIte|
|000051e0| 6d 20 6d 75 73 74 20 62 | 65 20 61 20 6d 65 73 73 |m must b|e a mess|
|000051f0| 61 67 65 20 6e 61 6d 65 | 0a 20 20 20 20 2d 2d 65 |age name|. --e|
|00005200| 69 74 68 65 72 20 73 65 | 6e 64 20 69 74 20 74 6f |ither se|nd it to|
|00005210| 20 74 68 65 20 63 61 72 | 64 20 6f 72 20 74 68 65 | the car|d or the|
|00005220| 20 73 74 61 63 6b 0a 20 | 20 20 20 69 66 20 70 4f | stack. | if pO|
|00005230| 77 6e 65 72 4d 65 6e 75 | 20 69 73 20 22 53 65 6e |wnerMenu| is "Sen|
|00005240| 64 20 43 61 72 64 20 4d | 65 73 73 61 67 65 22 0a |d Card M|essage".|
|00005250| 20 20 20 20 74 68 65 6e | 20 72 65 76 53 65 6e 64 | then| revSend|
|00005260| 4d 65 73 73 61 67 65 20 | 70 4d 65 6e 75 49 74 65 |Message |pMenuIte|
|00005270| 6d 2c 20 74 68 65 20 6c | 6f 6e 67 20 69 64 20 6f |m, the l|ong id o|
|00005280| 66 20 74 68 69 73 20 63 | 64 20 6f 66 20 73 74 61 |f this c|d of sta|
|00005290| 63 6b 20 74 54 61 72 67 | 65 74 53 74 61 63 6b 0a |ck tTarg|etStack.|
|000052a0| 20 20 20 20 65 6c 73 65 | 20 72 65 76 53 65 6e 64 | else| revSend|
|000052b0| 4d 65 73 73 61 67 65 20 | 70 4d 65 6e 75 49 74 65 |Message |pMenuIte|
|000052c0| 6d 2c 20 74 68 65 20 6c | 6f 6e 67 20 69 64 20 6f |m, the l|ong id o|
|000052d0| 66 20 73 74 61 63 6b 20 | 74 54 61 72 67 65 74 53 |f stack |tTargetS|
|000052e0| 74 61 63 6b 0a 20 20 20 | 20 62 72 65 61 6b 0a 20 |tack. | break. |
|000052f0| 20 65 6e 64 20 73 77 69 | 74 63 68 0a 65 6e 64 20 | end swi|tch.end |
|00005300| 72 65 76 44 6f 43 61 72 | 64 53 74 61 63 6b 4d 65 |revDoCar|dStackMe|
|00005310| 6e 75 0a 0a 6f 6e 20 72 | 65 76 43 68 61 6e 67 65 |nu..on r|evChange|
|00005320| 4d 6f 64 65 20 70 57 68 | 69 63 68 4d 6f 64 65 2c |Mode pWh|ichMode,|
|00005330| 20 70 57 68 69 63 68 53 | 74 61 63 6b 0a 20 20 64 | pWhichS|tack. d|
|00005340| 6f 20 70 57 68 69 63 68 | 4d 6f 64 65 20 26 26 20 |o pWhich|Mode && |
|00005350| 71 75 6f 74 65 20 26 20 | 70 57 68 69 63 68 53 74 |quote & |pWhichSt|
|00005360| 61 63 6b 20 26 20 71 75 | 6f 74 65 0a 65 6e 64 20 |ack & qu|ote.end |
|00005370| 72 65 76 43 68 61 6e 67 | 65 4d 6f 64 65 0a 0a 6f |revChang|eMode..o|
|00005380| 6e 20 72 65 76 53 65 6e | 64 4d 65 73 73 61 67 65 |n revSen|dMessage|
|00005390| 20 70 4d 65 73 73 61 67 | 65 2c 20 70 4f 62 6a 65 | pMessag|e, pObje|
|000053a0| 63 74 0a 20 20 70 75 74 | 20 74 68 65 20 66 72 6f |ct. put| the fro|
|000053b0| 6e 74 53 63 72 69 70 74 | 73 20 69 6e 74 6f 20 74 |ntScript|s into t|
|000053c0| 53 63 72 69 70 74 73 4c | 69 73 74 0a 20 20 70 75 |ScriptsL|ist. pu|
|000053d0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 74 52 65 |t empty |into tRe|
|000053e0| 6d 6f 76 65 46 72 6f 6e | 74 4c 69 73 74 0a 20 20 |moveFron|tList. |
|000053f0| 72 65 70 65 61 74 20 66 | 6f 72 20 65 61 63 68 20 |repeat f|or each |
|00005400| 6c 69 6e 65 20 6c 20 69 | 6e 20 74 53 63 72 69 70 |line l i|n tScrip|
|00005410| 74 73 4c 69 73 74 0a 20 | 20 20 20 69 66 20 63 68 |tsList. | if ch|
|00005420| 61 72 20 31 20 74 6f 20 | 33 20 6f 66 20 74 68 65 |ar 1 to |3 of the|
|00005430| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 6c | short n|ame of l|
|00005440| 20 69 73 20 22 72 65 76 | 22 20 74 68 65 6e 0a 20 | is "rev|" then. |
|00005450| 20 20 20 20 20 70 75 74 | 20 6c 20 26 20 63 72 20 | put| l & cr |
|00005460| 61 66 74 65 72 20 74 52 | 65 6d 6f 76 65 46 72 6f |after tR|emoveFro|
|00005470| 6e 74 4c 69 73 74 0a 20 | 20 20 20 20 20 72 65 6d |ntList. | rem|
|00005480| 6f 76 65 20 73 63 72 69 | 70 74 20 6f 66 20 6c 20 |ove scri|pt of l |
|00005490| 66 72 6f 6d 20 66 72 6f | 6e 74 0a 20 20 20 20 65 |from fro|nt. e|
|000054a0| 6e 64 20 69 66 0a 20 20 | 65 6e 64 20 72 65 70 65 |nd if. |end repe|
|000054b0| 61 74 0a 20 20 64 65 6c | 65 74 65 20 6c 61 73 74 |at. del|ete last|
|000054c0| 20 63 68 61 72 20 6f 66 | 20 74 52 65 6d 6f 76 65 | char of| tRemove|
|000054d0| 46 72 6f 6e 74 4c 69 73 | 74 0a 20 20 73 65 6e 64 |FrontLis|t. send|
|000054e0| 20 22 72 65 76 43 6c 65 | 61 6e 55 70 20 74 52 65 | "revCle|anUp tRe|
|000054f0| 6d 6f 76 65 46 72 6f 6e | 74 4c 69 73 74 22 20 74 |moveFron|tList" t|
|00005500| 6f 20 6d 65 20 69 6e 20 | 31 35 20 6d 69 6c 6c 69 |o me in |15 milli|
|00005510| 73 65 63 6f 6e 64 73 0a | 20 20 73 65 6e 64 20 70 |seconds.| send p|
|00005520| 4d 65 73 73 61 67 65 20 | 74 6f 20 70 4f 62 6a 65 |Message |to pObje|
|00005530| 63 74 0a 65 6e 64 20 72 | 65 76 53 65 6e 64 4d 65 |ct.end r|evSendMe|
|00005540| 73 73 61 67 65 0a 0a 6f | 6e 20 72 65 76 43 6c 65 |ssage..o|n revCle|
|00005550| 61 6e 55 70 20 70 52 65 | 6d 6f 76 65 46 72 6f 6e |anUp pRe|moveFron|
|00005560| 74 4c 69 73 74 0a 20 20 | 72 65 70 65 61 74 20 66 |tList. |repeat f|
|00005570| 6f 72 20 65 61 63 68 20 | 6c 69 6e 65 20 6c 20 69 |or each |line l i|
|00005580| 6e 20 70 52 65 6d 6f 76 | 65 46 72 6f 6e 74 4c 69 |n pRemov|eFrontLi|
|00005590| 73 74 0a 20 20 20 20 69 | 6e 73 65 72 74 20 73 63 |st. i|nsert sc|
|000055a0| 72 69 70 74 20 6f 66 20 | 6c 20 69 6e 74 6f 20 66 |ript of |l into f|
|000055b0| 72 6f 6e 74 0a 20 20 65 | 6e 64 20 72 65 70 65 61 |ront. e|nd repea|
|000055c0| 74 0a 65 6e 64 20 72 65 | 76 43 6c 65 61 6e 55 70 |t.end re|vCleanUp|
|000055d0| 0a 0a 66 75 6e 63 74 69 | 6f 6e 20 72 65 76 42 75 |..functi|on revBu|
|000055e0| 69 6c 64 43 6f 6e 74 65 | 78 74 53 65 6e 73 69 74 |ildConte|xtSensit|
|000055f0| 69 76 65 4d 65 6e 75 20 | 70 54 65 78 74 0a 20 20 |iveMenu |pText. |
|00005600| 67 6c 6f 62 61 6c 20 67 | 52 45 56 4d 65 6e 75 54 |global g|REVMenuT|
|00005610| 61 72 67 65 74 2c 20 67 | 52 45 56 4c 61 6e 67 75 |arget, g|REVLangu|
|00005620| 61 67 65 4e 61 6d 65 73 | 0a 20 20 70 75 74 20 72 |ageNames|. put r|
|00005630| 65 76 54 61 72 67 65 74 | 53 74 61 63 6b 28 67 52 |evTarget|Stack(gR|
|00005640| 45 56 4d 65 6e 75 54 61 | 72 67 65 74 29 20 69 6e |EVMenuTa|rget) in|
|00005650| 74 6f 20 74 54 61 72 67 | 65 74 53 74 61 63 6b 0a |to tTarg|etStack.|
|00005660| 0a 20 20 2d 2d 70 61 73 | 74 65 20 65 6e 61 62 6c |. --pas|te enabl|
|00005670| 69 6e 67 20 64 69 73 61 | 62 6c 69 6e 67 20 69 6e |ing disa|bling in|
|00005680| 20 63 61 72 64 2f 73 74 | 61 63 6b 20 6d 65 6e 75 | card/st|ack menu|
|00005690| 0a 20 20 70 75 74 20 6c | 69 6e 65 4f 66 66 73 65 |. put l|ineOffse|
|000056a0| 74 28 22 50 61 73 74 65 | 20 4f 62 6a 65 63 74 73 |t("Paste| Objects|
|000056b0| 22 2c 70 54 65 78 74 29 | 20 69 6e 74 6f 20 74 50 |",pText)| into tP|
|000056c0| 61 73 74 65 4c 69 6e 65 | 0a 20 20 69 66 20 74 68 |asteLine|. if th|
|000056d0| 65 20 63 6c 69 70 42 6f | 61 72 64 20 69 73 20 6e |e clipBo|ard is n|
|000056e0| 6f 74 20 22 6f 62 6a 65 | 63 74 73 22 20 6f 72 20 |ot "obje|cts" or |
|000056f0| 74 68 65 20 6d 6f 64 65 | 20 6f 66 20 73 74 61 63 |the mode| of stac|
|00005700| 6b 20 74 54 61 72 67 65 | 74 53 74 61 63 6b 20 69 |k tTarge|tStack i|
|00005710| 73 20 6e 6f 74 20 31 20 | 74 68 65 6e 0a 20 20 20 |s not 1 |then. |
|00005720| 20 70 75 74 20 74 61 62 | 26 22 28 50 61 73 74 65 | put tab|&"(Paste|
|00005730| 20 4f 62 6a 65 63 74 73 | 22 20 69 6e 74 6f 20 6c | Objects|" into l|
|00005740| 69 6e 65 20 74 50 61 73 | 74 65 4c 69 6e 65 20 6f |ine tPas|teLine o|
|00005750| 66 20 70 54 65 78 74 0a | 20 20 65 6c 73 65 0a 20 |f pText.| else. |
|00005760| 20 20 20 70 75 74 20 74 | 61 62 26 22 50 61 73 74 | put t|ab&"Past|
|00005770| 65 20 4f 62 6a 65 63 74 | 73 22 20 69 6e 74 6f 20 |e Object|s" into |
|00005780| 6c 69 6e 65 20 74 50 61 | 73 74 65 4c 69 6e 65 20 |line tPa|steLine |
|00005790| 6f 66 20 70 54 65 78 74 | 0a 20 20 65 6e 64 20 69 |of pText|. end i|
|000057a0| 66 0a 0a 20 20 2d 2d 73 | 74 61 63 6b 20 6d 6f 64 |f.. --s|tack mod|
|000057b0| 65 20 63 68 65 63 6b 6d | 61 72 6b 73 0a 20 20 69 |e checkm|arks. i|
|000057c0| 66 20 67 52 45 56 4c 61 | 6e 67 75 61 67 65 4e 61 |f gREVLa|nguageNa|
|000057d0| 6d 65 73 20 74 68 65 6e | 20 70 75 74 20 74 61 62 |mes then| put tab|
|000057e0| 26 74 61 62 26 22 74 6f | 70 4c 65 76 65 6c 22 26 |&tab&"to|pLevel"&|
|000057f0| 63 72 20 26 74 61 62 26 | 74 61 62 26 22 6d 6f 64 |cr &tab&|tab&"mod|
|00005800| 65 6c 65 73 73 22 26 63 | 72 20 26 74 61 62 26 74 |eless"&c|r &tab&t|
|00005810| 61 62 26 22 70 61 6c 65 | 74 74 65 22 26 63 72 20 |ab&"pale|tte"&cr |
|00005820| 26 74 61 62 26 74 61 62 | 26 22 6d 6f 64 61 6c 22 |&tab&tab|&"modal"|
|00005830| 20 69 6e 74 6f 20 74 53 | 74 61 63 6b 4d 6f 64 65 | into tS|tackMode|
|00005840| 0a 20 20 65 6c 73 65 20 | 70 75 74 20 74 61 62 26 |. else |put tab&|
|00005850| 74 61 62 26 22 54 6f 70 | 6c 65 76 65 6c 22 26 63 |tab&"Top|level"&c|
|00005860| 72 20 26 74 61 62 26 74 | 61 62 26 22 4d 6f 64 65 |r &tab&t|ab&"Mode|
|00005870| 6c 65 73 73 22 26 63 72 | 20 26 74 61 62 26 74 61 |less"&cr| &tab&ta|
|00005880| 62 26 22 50 61 6c 65 74 | 74 65 22 26 63 72 20 26 |b&"Palet|te"&cr &|
|00005890| 74 61 62 26 74 61 62 26 | 22 4d 6f 64 61 6c 22 20 |tab&tab&|"Modal" |
|000058a0| 69 6e 74 6f 20 74 53 74 | 61 63 6b 4d 6f 64 65 0a |into tSt|ackMode.|
|000058b0| 20 20 73 77 69 74 63 68 | 20 74 68 65 20 6d 6f 64 | switch| the mod|
|000058c0| 65 20 6f 66 20 73 74 61 | 63 6b 20 74 54 61 72 67 |e of sta|ck tTarg|
|000058d0| 65 74 53 74 61 63 6b 0a | 20 20 63 61 73 65 20 31 |etStack.| case 1|
|000058e0| 0a 20 20 63 61 73 65 20 | 32 0a 20 20 20 20 2d 2d |. case |2. --|
|000058f0| 74 6f 70 6c 65 76 65 6c | 0a 20 20 20 20 70 75 74 |toplevel|. put|
|00005900| 20 22 21 63 22 20 62 65 | 66 6f 72 65 20 6c 69 6e | "!c" be|fore lin|
|00005910| 65 20 31 20 6f 66 20 74 | 53 74 61 63 6b 4d 6f 64 |e 1 of t|StackMod|
|00005920| 65 0a 20 20 20 20 62 72 | 65 61 6b 0a 20 20 63 61 |e. br|eak. ca|
|00005930| 73 65 20 33 0a 20 20 20 | 20 2d 2d 6d 6f 64 65 6c |se 3. | --model|
|00005940| 65 73 73 0a 20 20 20 20 | 70 75 74 20 22 21 63 22 |ess. |put "!c"|
|00005950| 20 62 65 66 6f 72 65 20 | 6c 69 6e 65 20 32 20 6f | before |line 2 o|
|00005960| 66 20 74 53 74 61 63 6b | 4d 6f 64 65 0a 20 20 20 |f tStack|Mode. |
|00005970| 20 62 72 65 61 6b 0a 20 | 20 63 61 73 65 20 34 0a | break. | case 4.|
|00005980| 20 20 20 20 2d 2d 70 61 | 6c 65 74 74 65 0a 20 20 | --pa|lette. |
|00005990| 20 20 70 75 74 20 22 21 | 63 22 20 62 65 66 6f 72 | put "!|c" befor|
|000059a0| 65 20 6c 69 6e 65 20 33 | 20 6f 66 20 74 53 74 61 |e line 3| of tSta|
|000059b0| 63 6b 4d 6f 64 65 0a 20 | 20 20 20 62 72 65 61 6b |ckMode. | break|
|000059c0| 0a 20 20 63 61 73 65 20 | 35 0a 20 20 20 20 2d 2d |. case |5. --|
|000059d0| 6d 6f 64 61 6c 0a 20 20 | 20 20 70 75 74 20 22 21 |modal. | put "!|
|000059e0| 63 22 20 62 65 66 6f 72 | 65 20 6c 69 6e 65 20 34 |c" befor|e line 4|
|000059f0| 20 6f 66 20 74 53 74 61 | 63 6b 4d 6f 64 65 0a 20 | of tSta|ckMode. |
|00005a00| 20 20 20 62 72 65 61 6b | 0a 20 20 65 6e 64 20 73 | break|. end s|
|00005a10| 77 69 74 63 68 0a 20 20 | 70 75 74 20 6c 69 6e 65 |witch. |put line|
|00005a20| 4f 66 66 73 65 74 28 22 | 53 74 61 63 6b 20 4d 6f |Offset("|Stack Mo|
|00005a30| 64 65 22 2c 70 54 65 78 | 74 29 20 69 6e 74 6f 20 |de",pTex|t) into |
|00005a40| 74 53 74 61 63 6b 4d 6f | 64 65 4c 69 6e 65 0a 20 |tStackMo|deLine. |
|00005a50| 20 70 75 74 20 74 53 74 | 61 63 6b 4d 6f 64 65 20 | put tSt|ackMode |
|00005a60| 69 6e 74 6f 20 6c 69 6e | 65 20 74 53 74 61 63 6b |into lin|e tStack|
|00005a70| 4d 6f 64 65 4c 69 6e 65 | 2b 31 20 74 6f 20 74 53 |ModeLine|+1 to tS|
|00005a80| 74 61 63 6b 4d 6f 64 65 | 4c 69 6e 65 2b 34 20 6f |tackMode|Line+4 o|
|00005a90| 66 20 70 54 65 78 74 0a | 0a 20 20 69 66 20 77 6f |f pText.|. if wo|
|00005aa0| 72 64 20 31 20 6f 66 20 | 67 52 45 56 4d 65 6e 75 |rd 1 of |gREVMenu|
|00005ab0| 54 61 72 67 65 74 20 69 | 73 20 6e 6f 74 20 22 63 |Target i|s not "c|
|00005ac0| 61 72 64 22 20 74 68 65 | 6e 0a 20 20 20 20 2d 2d |ard" the|n. --|
|00005ad0| 42 75 69 6c 64 20 55 70 | 20 61 6e 64 20 41 64 64 |Build Up| and Add|
|00005ae0| 20 48 61 6e 64 6c 65 72 | 20 4c 69 73 74 20 66 6f | Handler| List fo|
|00005af0| 72 20 4f 62 6a 65 63 74 | 0a 20 20 20 20 70 75 74 |r Object|. put|
|00005b00| 20 74 68 65 20 63 52 45 | 56 47 65 6e 65 72 61 6c | the cRE|VGeneral|
|00005b10| 5b 22 68 61 6e 64 6c 65 | 72 4c 69 73 74 22 5d 20 |["handle|rList"] |
|00005b20| 6f 66 20 67 52 45 56 4d | 65 6e 75 54 61 72 67 65 |of gREVM|enuTarge|
|00005b30| 74 20 69 6e 74 6f 20 74 | 53 65 6e 64 4d 65 73 73 |t into t|SendMess|
|00005b40| 61 67 65 4c 69 73 74 0a | 20 20 20 20 69 66 20 74 |ageList.| if t|
|00005b50| 68 65 20 63 53 6f 72 74 | 20 6f 66 20 73 74 61 63 |he cSort| of stac|
|00005b60| 6b 20 22 72 65 76 50 72 | 65 66 65 72 65 6e 63 65 |k "revPr|eference|
|00005b70| 73 22 0a 20 20 20 20 74 | 68 65 6e 20 73 6f 72 74 |s". t|hen sort|
|00005b80| 20 6c 69 6e 65 73 20 6f | 66 20 74 53 65 6e 64 4d | lines o|f tSendM|
|00005b90| 65 73 73 61 67 65 4c 69 | 73 74 0a 20 20 20 20 70 |essageLi|st. p|
|00005ba0| 75 74 20 6c 69 6e 65 4f | 66 66 73 65 74 28 22 53 |ut lineO|ffset("S|
|00005bb0| 65 6e 64 20 4d 65 73 73 | 61 67 65 22 2c 70 54 65 |end Mess|age",pTe|
|00005bc0| 78 74 29 2b 31 20 69 6e | 74 6f 20 74 53 74 61 72 |xt)+1 in|to tStar|
|00005bd0| 74 4c 69 6e 65 4e 6f 0a | 20 20 20 20 70 75 74 20 |tLineNo.| put |
|00005be0| 6c 69 6e 65 4f 66 66 73 | 65 74 28 22 43 61 72 64 |lineOffs|et("Card|
|00005bf0| 20 26 26 20 53 74 61 63 | 6b 22 2c 70 54 65 78 74 | && Stac|k",pText|
|00005c00| 29 2d 31 20 69 6e 74 6f | 20 74 45 6e 64 4c 69 6e |)-1 into| tEndLin|
|00005c10| 65 4e 6f 0a 20 20 20 20 | 72 65 70 6c 61 63 65 20 |eNo. |replace |
|00005c20| 63 72 20 77 69 74 68 20 | 63 72 20 26 20 74 61 62 |cr with |cr & tab|
|00005c30| 20 69 6e 20 74 53 65 6e | 64 4d 65 73 73 61 67 65 | in tSen|dMessage|
|00005c40| 4c 69 73 74 0a 20 20 20 | 20 69 66 20 74 68 65 20 |List. | if the |
|00005c50| 6e 75 6d 62 65 72 20 6f | 66 20 77 6f 72 64 73 20 |number o|f words |
|00005c60| 69 6e 20 6c 69 6e 65 20 | 31 20 6f 66 20 74 53 65 |in line |1 of tSe|
|00005c70| 6e 64 4d 65 73 73 61 67 | 65 4c 69 73 74 20 69 73 |ndMessag|eList is|
|00005c80| 20 30 20 74 68 65 6e 20 | 70 75 74 20 22 28 53 65 | 0 then |put "(Se|
|00005c90| 6e 64 20 4d 65 73 73 61 | 67 65 22 20 69 6e 74 6f |nd Messa|ge" into|
|00005ca0| 20 6c 69 6e 65 20 74 53 | 74 61 72 74 4c 69 6e 65 | line tS|tartLine|
|00005cb0| 4e 6f 2d 31 20 6f 66 20 | 70 54 65 78 74 0a 20 20 |No-1 of |pText. |
|00005cc0| 20 20 65 6c 73 65 20 70 | 75 74 20 22 53 65 6e 64 | else p|ut "Send|
|00005cd0| 20 4d 65 73 73 61 67 65 | 22 20 69 6e 74 6f 20 6c | Message|" into l|
|00005ce0| 69 6e 65 20 74 53 74 61 | 72 74 4c 69 6e 65 4e 6f |ine tSta|rtLineNo|
|00005cf0| 2d 31 20 6f 66 20 70 54 | 65 78 74 0a 20 20 20 20 |-1 of pT|ext. |
|00005d00| 70 75 74 20 74 61 62 20 | 62 65 66 6f 72 65 20 74 |put tab |before t|
|00005d10| 53 65 6e 64 4d 65 73 73 | 61 67 65 4c 69 73 74 0a |SendMess|ageList.|
|00005d20| 0a 20 20 20 20 69 66 20 | 74 53 74 61 72 74 4c 69 |. if |tStartLi|
|00005d30| 6e 65 4e 6f 20 3e 20 74 | 45 6e 64 4c 69 6e 65 4e |neNo > t|EndLineN|
|00005d40| 6f 0a 20 20 20 20 74 68 | 65 6e 20 70 75 74 20 63 |o. th|en put c|
|00005d50| 72 26 20 74 53 65 6e 64 | 4d 65 73 73 61 67 65 4c |r& tSend|MessageL|
|00005d60| 69 73 74 20 61 66 74 65 | 72 20 6c 69 6e 65 20 28 |ist afte|r line (|
|00005d70| 74 53 74 61 72 74 4c 69 | 6e 65 4e 6f 2d 31 29 20 |tStartLi|neNo-1) |
|00005d80| 6f 66 20 70 54 65 78 74 | 0a 20 20 20 20 65 6c 73 |of pText|. els|
|00005d90| 65 20 70 75 74 20 74 53 | 65 6e 64 4d 65 73 73 61 |e put tS|endMessa|
|00005da0| 67 65 4c 69 73 74 20 69 | 6e 74 6f 20 6c 69 6e 65 |geList i|nto line|
|00005db0| 20 74 53 74 61 72 74 4c | 69 6e 65 4e 6f 20 74 6f | tStartL|ineNo to|
|00005dc0| 20 74 45 6e 64 4c 69 6e | 65 4e 6f 20 6f 66 20 70 | tEndLin|eNo of p|
|00005dd0| 54 65 78 74 0a 20 20 65 | 6e 64 20 69 66 0a 0a 20 |Text. e|nd if.. |
|00005de0| 20 2d 2d 42 75 69 6c 64 | 20 55 70 20 61 6e 64 20 | --Build| Up and |
|00005df0| 41 64 64 20 43 61 72 64 | 20 61 6e 64 20 53 74 61 |Add Card| and Sta|
|00005e00| 63 6b 20 48 61 6e 64 6c | 65 72 20 4c 69 73 74 0a |ck Handl|er List.|
|00005e10| 20 20 70 75 74 20 6c 69 | 6e 65 4f 66 66 73 65 74 | put li|neOffset|
|00005e20| 28 22 53 65 6e 64 20 43 | 61 72 64 20 4d 65 73 73 |("Send C|ard Mess|
|00005e30| 61 67 65 22 2c 70 54 65 | 78 74 29 20 69 6e 74 6f |age",pTe|xt) into|
|00005e40| 20 74 4c 69 6e 65 4e 6f | 0a 20 20 70 75 74 20 74 | tLineNo|. put t|
|00005e50| 68 65 20 63 52 45 56 47 | 65 6e 65 72 61 6c 5b 68 |he cREVG|eneral[h|
|00005e60| 61 6e 64 6c 65 72 4c 69 | 73 74 5d 20 6f 66 20 74 |andlerLi|st] of t|
|00005e70| 68 69 73 20 63 64 20 6f | 66 20 73 74 61 63 6b 20 |his cd o|f stack |
|00005e80| 74 54 61 72 67 65 74 53 | 74 61 63 6b 20 69 6e 74 |tTargetS|tack int|
|00005e90| 6f 20 74 53 65 6e 64 4d | 65 73 73 61 67 65 4c 69 |o tSendM|essageLi|
|00005ea0| 73 74 0a 20 20 69 66 20 | 74 68 65 20 63 53 6f 72 |st. if |the cSor|
|00005eb0| 74 20 6f 66 20 73 74 61 | 63 6b 20 22 72 65 76 50 |t of sta|ck "revP|
|00005ec0| 72 65 66 65 72 65 6e 63 | 65 73 22 0a 20 20 74 68 |referenc|es". th|
|00005ed0| 65 6e 20 73 6f 72 74 20 | 6c 69 6e 65 73 20 6f 66 |en sort |lines of|
|00005ee0| 20 74 53 65 6e 64 4d 65 | 73 73 61 67 65 4c 69 73 | tSendMe|ssageLis|
|00005ef0| 74 0a 20 20 70 75 74 20 | 74 68 65 20 63 52 45 56 |t. put |the cREV|
|00005f00| 47 65 6e 65 72 61 6c 5b | 68 61 6e 64 6c 65 72 4c |General[|handlerL|
|00005f10| 69 73 74 5d 20 6f 66 20 | 73 74 61 63 6b 20 74 54 |ist] of |stack tT|
|00005f20| 61 72 67 65 74 53 74 61 | 63 6b 20 69 6e 74 6f 20 |argetSta|ck into |
|00005f30| 74 53 65 6e 64 53 74 61 | 63 6b 4d 65 73 73 61 67 |tSendSta|ckMessag|
|00005f40| 65 0a 20 20 69 66 20 74 | 68 65 20 63 53 6f 72 74 |e. if t|he cSort|
|00005f50| 20 6f 66 20 73 74 61 63 | 6b 20 22 72 65 76 50 72 | of stac|k "revPr|
|00005f60| 65 66 65 72 65 6e 63 65 | 73 22 0a 20 20 74 68 65 |eference|s". the|
|00005f70| 6e 20 73 6f 72 74 20 6c | 69 6e 65 73 20 6f 66 20 |n sort l|ines of |
|00005f80| 74 53 65 6e 64 53 74 61 | 63 6b 4d 65 73 73 61 67 |tSendSta|ckMessag|
|00005f90| 65 0a 20 20 72 65 70 6c | 61 63 65 20 63 72 20 77 |e. repl|ace cr w|
|00005fa0| 69 74 68 20 63 72 20 26 | 20 74 61 62 20 26 20 74 |ith cr &| tab & t|
|00005fb0| 61 62 20 69 6e 20 74 53 | 65 6e 64 53 74 61 63 6b |ab in tS|endStack|
|00005fc0| 4d 65 73 73 61 67 65 0a | 20 20 72 65 70 6c 61 63 |Message.| replac|
|00005fd0| 65 20 63 72 20 77 69 74 | 68 20 63 72 20 26 20 74 |e cr wit|h cr & t|
|00005fe0| 61 62 20 26 20 74 61 62 | 20 69 6e 20 74 53 65 6e |ab & tab| in tSen|
|00005ff0| 64 4d 65 73 73 61 67 65 | 4c 69 73 74 0a 20 20 70 |dMessage|List. p|
|00006000| 75 74 20 74 61 62 26 74 | 61 62 20 62 65 66 6f 72 |ut tab&t|ab befor|
|00006010| 65 20 74 53 65 6e 64 4d | 65 73 73 61 67 65 4c 69 |e tSendM|essageLi|
|00006020| 73 74 0a 20 20 70 75 74 | 20 74 61 62 26 74 61 62 |st. put| tab&tab|
|00006030| 20 62 65 66 6f 72 65 20 | 74 53 65 6e 64 53 74 61 | before |tSendSta|
|00006040| 63 6b 4d 65 73 73 61 67 | 65 0a 20 20 70 75 74 20 |ckMessag|e. put |
|00006050| 74 61 62 20 26 20 22 53 | 65 6e 64 20 43 61 72 64 |tab & "S|end Card|
|00006060| 20 4d 65 73 73 61 67 65 | 22 20 26 20 63 72 20 26 | Message|" & cr &|
|00006070| 20 74 53 65 6e 64 4d 65 | 73 73 61 67 65 4c 69 73 | tSendMe|ssageLis|
|00006080| 74 20 26 20 63 72 20 26 | 20 74 61 62 20 26 20 22 |t & cr &| tab & "|
|00006090| 53 65 6e 64 20 53 74 61 | 63 6b 20 4d 65 73 73 61 |Send Sta|ck Messa|
|000060a0| 67 65 22 20 26 20 63 72 | 20 26 20 74 53 65 6e 64 |ge" & cr| & tSend|
|000060b0| 53 74 61 63 6b 4d 65 73 | 73 61 67 65 20 69 6e 74 |StackMes|sage int|
|000060c0| 6f 20 6c 69 6e 65 20 74 | 4c 69 6e 65 4e 6f 20 74 |o line t|LineNo t|
|000060d0| 6f 20 2d 31 20 6f 66 20 | 70 54 65 78 74 0a 0a 20 |o -1 of |pText.. |
|000060e0| 20 69 66 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | if the |number o|
|000060f0| 66 20 77 6f 72 64 73 20 | 69 6e 20 6c 69 6e 65 20 |f words |in line |
|00006100| 31 20 6f 66 20 74 53 65 | 6e 64 4d 65 73 73 61 67 |1 of tSe|ndMessag|
|00006110| 65 4c 69 73 74 20 69 73 | 20 30 20 74 68 65 6e 0a |eList is| 0 then.|
|00006120| 20 20 20 20 2d 2d 4e 6f | 20 53 65 6e 64 20 43 61 | --No| Send Ca|
|00006130| 72 64 20 6d 65 73 61 67 | 65 0a 20 20 20 20 70 75 |rd mesag|e. pu|
|00006140| 74 20 6c 69 6e 65 4f 66 | 66 73 65 74 28 22 53 65 |t lineOf|fset("Se|
|00006150| 6e 64 20 43 61 72 64 20 | 4d 65 73 73 61 67 65 22 |nd Card |Message"|
|00006160| 2c 70 54 65 78 74 29 20 | 69 6e 74 6f 20 74 4c 69 |,pText) |into tLi|
|00006170| 6e 65 4e 6f 0a 20 20 20 | 20 70 75 74 20 6c 69 6e |neNo. | put lin|
|00006180| 65 4f 66 66 73 65 74 28 | 22 53 65 6e 64 20 53 74 |eOffset(|"Send St|
|00006190| 61 63 6b 20 4d 65 73 73 | 61 67 65 22 2c 70 54 65 |ack Mess|age",pTe|
|000061a0| 78 74 29 20 69 6e 74 6f | 20 74 45 6e 64 4c 69 6e |xt) into| tEndLin|
|000061b0| 65 4e 6f 0a 20 20 20 20 | 70 75 74 20 74 61 62 20 |eNo. |put tab |
|000061c0| 26 20 22 28 22 20 26 20 | 22 53 65 6e 64 20 43 61 |& "(" & |"Send Ca|
|000061d0| 72 64 20 4d 65 73 73 61 | 67 65 22 20 69 6e 74 6f |rd Messa|ge" into|
|000061e0| 20 6c 69 6e 65 20 74 4c | 69 6e 65 4e 6f 20 74 6f | line tL|ineNo to|
|000061f0| 20 74 45 6e 64 4c 69 6e | 65 4e 6f 2d 31 20 6f 66 | tEndLin|eNo-1 of|
|00006200| 20 70 54 65 78 74 0a 20 | 20 65 6e 64 20 69 66 0a | pText. | end if.|
|00006210| 0a 20 20 69 66 20 74 68 | 65 20 6e 75 6d 62 65 72 |. if th|e number|
|00006220| 20 6f 66 20 77 6f 72 64 | 73 20 69 6e 20 6c 69 6e | of word|s in lin|
|00006230| 65 20 31 20 6f 66 20 74 | 53 65 6e 64 53 74 61 63 |e 1 of t|SendStac|
|00006240| 6b 4d 65 73 73 61 67 65 | 20 69 73 20 30 20 74 68 |kMessage| is 0 th|
|00006250| 65 6e 0a 20 20 20 20 2d | 2d 4e 6f 20 53 65 6e 64 |en. -|-No Send|
|00006260| 20 53 74 61 63 6b 20 4d | 65 73 73 61 67 65 0a 20 | Stack M|essage. |
|00006270| 20 20 20 70 75 74 20 6c | 69 6e 65 4f 66 66 73 65 | put l|ineOffse|
|00006280| 74 28 22 53 65 6e 64 20 | 53 74 61 63 6b 20 4d 65 |t("Send |Stack Me|
|00006290| 73 73 61 67 65 22 2c 70 | 54 65 78 74 29 20 69 6e |ssage",p|Text) in|
|000062a0| 74 6f 20 74 4c 69 6e 65 | 4e 6f 0a 20 20 20 20 70 |to tLine|No. p|
|000062b0| 75 74 20 74 61 62 20 26 | 20 22 28 22 20 26 20 22 |ut tab &| "(" & "|
|000062c0| 53 65 6e 64 20 53 74 61 | 63 6b 20 4d 65 73 73 61 |Send Sta|ck Messa|
|000062d0| 67 65 22 20 69 6e 74 6f | 20 6c 69 6e 65 20 74 4c |ge" into| line tL|
|000062e0| 69 6e 65 4e 6f 20 74 6f | 20 2d 31 20 6f 66 20 70 |ineNo to| -1 of p|
|000062f0| 54 65 78 74 0a 20 20 65 | 6e 64 20 69 66 0a 20 20 |Text. e|nd if. |
|00006300| 72 65 74 75 72 6e 20 70 | 54 65 78 74 0a 65 6e 64 |return p|Text.end|
|00006310| 20 72 65 76 42 75 69 6c | 64 43 6f 6e 74 65 78 74 | revBuil|dContext|
|00006320| 53 65 6e 73 69 74 69 76 | 65 4d 65 6e 75 0a 00 00 |Sensitiv|eMenu...|
|00006330| 00 00 00 80 00 00 00 00 | 00 04 80 00 3b 00 00 00 |........|....;...|
|00006340| 01 08 72 65 76 63 61 72 | 64 00 00 05 66 61 6c 73 |..revcar|d...fals|
|00006350| 65 18 00 0c 63 52 45 56 | 47 65 6e 65 72 61 6c 00 |e...cREV|General.|
|00006360| 00 00 00 08 0f 73 63 72 | 69 70 74 43 68 65 63 6b |.....scr|iptCheck|
|00006370| 73 75 6d 00 00 10 0b 8e | 37 ca 2a 3f 93 3a 8f 45 |sum.....|7.*?.:.E|
|00006380| 10 d2 a1 86 be e9 0a 62 | 6f 6f 6b 6d 61 72 6b 73 |.......b|ookmarks|
|00006390| 00 00 00 0c 68 61 6e 64 | 6c 65 72 4c 69 73 74 00 |....hand|lerList.|
|000063a0| 00 ef 70 72 65 4f 70 65 | 6e 53 74 61 63 6b 0a 72 |..preOpe|nStack.r|
|000063b0| 65 76 43 68 65 63 6b 47 | 72 6f 75 70 0a 72 65 76 |evCheckG|roup.rev|
|000063c0| 55 70 64 61 74 65 50 61 | 6c 65 74 74 65 0a 6d 6f |UpdatePa|lette.mo|
|000063d0| 76 65 53 74 61 63 6b 0a | 6d 6f 75 73 65 45 6e 74 |veStack.|mouseEnt|
|000063e0| 65 72 0a 6d 6f 75 73 65 | 44 6f 77 6e 0a 6d 6f 75 |er.mouse|Down.mou|
|000063f0| 73 65 55 70 0a 6d 6f 75 | 73 65 52 65 6c 65 61 73 |seUp.mou|seReleas|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.